Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retrieve data from a data grid

Status
Not open for further replies.

tseh

Programmer
Jan 13, 2000
64
CA
I want to let the user search a data grid (column 0) for a vendors ID and return the vendors faxnumber (column 2).

How do I find the row containing the vendor ID and then return the fax number???
 
Hi

I would think you would be better of using a combo box to list the vendors ID and then display the matching fax number(s). Take care when using a grid becuase if it is bound you are going to overwrite the information in the underlying table/query.

Also, is there just likely to be the ONE fax number for each
Vendor? If this is the case then you could do away with the grid altogether and use text boxes.

Kate


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top