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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Searching through a linked SQL database

Status
Not open for further replies.

cwhite23

Technical User
Sep 17, 2003
66
US
I have been going around in circles on this one. Does anyone have any suggestions on how I can set up a search in VBA on a linked SQL table? I've tried every way I can think of including the rs.index and rs.seek methods, only to find out that they don't work on linked tables! What I'm trying to do is have the user input an order number and have the program search through the database, find the record and all related data, and then export it to a file. I've got everything else working except for the search. Help!!!
 
The neat thing about your typical SQL database is it supports SQL. This is a set-at-a-time language so you don't need seek etc. Use instead WHERE.

 
What was the old saying? something about not being able to see the forest for the trees? :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top