Get row of data from datagrid bases on the name in Col 1.
Posted: Thu Feb 23, 2023 2:04 pm
Hi, I've set up a simple name and address, etc., datagrid table. The user enters name, etc details by a series of ask dialogs, and a customer code is generated - 3 or 4 characters, then the whole is entered into the datagrid. The customer code is in col 1 of the table.
When the user wants to raise a document for a customer (invoice/delivery note, etc) he selects the customer code from a combo menu that puts the cust. code into a field. The system should then use the field to get the cust. data to put into address fields on the document.
I've tried interpreting suggestions from previous forum submissions, and looked up the lessons, but without success.
Can anyone give me a simple piece of code to do the trick ?
When the user wants to raise a document for a customer (invoice/delivery note, etc) he selects the customer code from a combo menu that puts the cust. code into a field. The system should then use the field to get the cust. data to put into address fields on the document.
I've tried interpreting suggestions from previous forum submissions, and looked up the lessons, but without success.
Can anyone give me a simple piece of code to do the trick ?