i need help with adding a double click event to my datagrid. i want to be able to double click on a specific row in the datagrid and pull up the information in another form. i can now double click on any row in the datagrid and it will bring up the form but it always opens the first customer no matter where i click. any suggestions?
Without showing us your code, we would just be guessing. And WAGs at that.
"Lisa, in this house, we obey the laws of thermodynamics!" - Homer Simpson
"I have my standards. They may be low, but I have them!" - Bette Middler
"It's a book about a Spanish guy named Manual. You should read it." - Dilbert
Okay, here is my code for the DataGrid I don't really know where to start with the double click event. I want the double click event to bring up the info that corresponds with the CustomerNumber. Hopefully this helps.
Dim strQuery As String
strQuery = "Select CustomerNumber, FirstName, LastName, TapAddress, TapNumber from tblCustomer"
AdodcList.ConnectionString = MyMDBCon
AdodcList.RecordSource = strQuery
Set DataGrid1.DataSource = AdodcList