Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I'm very new in SQL and VBa, so maybe it's very simple, but I'm not being able to use one or more Recordsets in a SQL SELECT sentence. Having 2 recordsets (opened) what I need is to relate them in a sql populating a new recordset.... .... rsOne rsTwo ssql="SELECT rsOne!Field1,rsOne!Field2,rsTwo!Field1 FROM rsOne,rsTwo WHERE rsOne!Field1=rsTwo!Field1" rsThree.open cnn,,,adcmtext But this gives me an error saying Microsoft Jet can't find rsOne object. What I'm doing wrong? Thanks for your help, |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formulas in a sentence | Excel Discussion (Misc queries) | |||
Using a formula in a sentence | Excel Discussion (Misc queries) | |||
Need help triming a sentence | Excel Discussion (Misc queries) | |||
Sentence extraction | Excel Programming | |||
Finish this sentence | Excel Programming |