Quote:
Originally posted by Probe
I am unclear on what you are trying to search for. Are you looking for specific data within the selected database or are you trying to find the correct field within the database?
The database field that I need to search contains numbers and I need to enter the number in the textbox and the program then needs to find a match on this number in the database. when a match is FOUND() the other two fields in that record then need to be assigned to two variables. I am also unsure as to how to open the database (this needs IF statements because what database is selected depends on the state of 8 option boxes, there are 8 identically structured databases involved each with different data in the other two fields. The numbers in the searched field are identical in each DB) Does this make any sense!? Thank you so much for your reply and I hope you can help me (be warned I am a hopeless Newbie at VB (it seemed longer but so much easier in the old dBase systems, there now ive blown it!!) Thanks.