Re: query on recordset in visual basic
- From: "Ralph" <nt_consulting64@xxxxxxxxx>
- Date: Wed, 16 Jan 2008 08:10:39 -0600
"ekkehard.horner" <ekkehard.horner@xxxxxxxx> wrote in message
news:478e0abe$0$25384$9b4e6d93@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Someone is asking me to do a "query on a recordset" in VBScript,
claiming that in Visual Basic this
set conn=ADODB.connection
set rs1=ADODB.recordset
set rs2=ADODB.recordset
conn=<<set to someDB>>
rs1.open "select ename,age from emp"
rs2.open "select ename from rs1 where age >10"
msgbox rs2.recordcount
works. I doubt that - how could someDB know/access rs1 -
but not being familiar with Visual Basic, I thought it
wise to ask the experts.
If it is possible in Visual Basic, I would be very grateful
for a pointer to pertaining docs/samples.
Anybody who can do this in any other language could make my
day by telling me about ist.
Thanks.
They left a bit out.
http://msdn2.microsoft.com/en-us/library/ms676589(VS.85).aspx
Note: "VBScript" while related, is NOT VB nor VBA. In the future you should
post in "microsoft.public.scripting.vbscript" for the best answers.
hth
-ralph
.
- References:
- query on recordset in visual basic
- From: ekkehard.horner
- query on recordset in visual basic
- Prev by Date: query on recordset in visual basic
- Next by Date: Re: query on recordset in visual basic
- Previous by thread: query on recordset in visual basic
- Next by thread: Re: query on recordset in visual basic
- Index(es):