Oliver76
Programmer
- Oct 2, 2001
- 60
I’m using a Microsoft DataGrid 6 and ADODC. In the Grid’s properties, in Layout tab, I’ve checked the checkedbox “button”. So that I can put or choose records from it like a combo box. But it gives me nothing. I don’t know if my code is correct… here it is…I’m already confused please help me!
Private Sub DataGrid1_Click()
Dim txt As String
txt = ("SELECT * FROM tblambot"
DataGrid1 = txt
‘My purpose is when I click the button in datagrid1 the records in tblambot should appear.
End Sub
‘Where tblambot is another table.
'Should i specify the field to use?
Private Sub DataGrid1_Click()
Dim txt As String
txt = ("SELECT * FROM tblambot"
DataGrid1 = txt
‘My purpose is when I click the button in datagrid1 the records in tblambot should appear.
End Sub
‘Where tblambot is another table.
'Should i specify the field to use?