|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
how to open two tables with only one recordset object
hi all
i'm working in vb6 and used adodc. i want to open two tables with only one recordset object .how can iot be possible .for e.g as we write for opening dim cnap1 as connection set cnap1=new connection cnap1.open adodc1.connectionstring sql="------" "rs1.open sql,cnap1,1,2 " here only one table is opening but i want to open two tables with only one recordset object means from rs1 itself. plz help me madhu |
|
#2
|
|||
|
|||
|
SELECT A.*, B.* FROM table1 A, table2 B
Normally you'd do a join to restrict the records based on a common field between the tables.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > how to open two tables with only one recordset object |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|