Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple Table Query
Message
 
To
All
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Title:
Multiple Table Query
Miscellaneous
Thread ID:
00399670
Message ID:
00399670
Views:
64
i want to know the proper syntax for selecting multiple table in ADO, say i have 7 tables that i want to retrieve data from using the data i retrieved from the first recordset

i tried something like this

1. i retrieved the data first from empfile

** rsEmpFile.Open "SELECT * FROM empfile WHERE empno = '" & txtempno.text & "'", adoEmpFile,,,adCmdText

2. from the rsEmpFile.Recordset, i will use the data coming from it to retrieve the data from the other tables like this

** if rsEmpFile.Recordcount = 1 then
rsTemp.Open , adoEmpFile,,,adCmdText

...how do i do this? i really need help with it! thanks!

Elinore
**elinore**
---------------------
"The most powerful weapon on earth,
is the human soul on fire" - Ferdinand Foch
Next
Reply
Map
View

Click here to load this message in the networking platform