Re: ADO Join Recordset
- From: "Jack" <jl@xxxxxxxxxx>
- Date: Thu, 16 Feb 2006 17:11:26 +0800
"Jack" <jl@xxxxxxxxxx> ¼¶¼g©ó¶l¥ó·s»D:uPa$WrsMGHA.3708@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
I have 2 tables, but want to join them into one recordset
So that I can manipulate it easily.
Table 1
Key data foreignkey
11 hello 15
Table 2
foreignkey data2
15 hello2
So that I can have a recordset like this
Key data foreignkey data2
11 hello 15 hello2
How do you code that in VB6?
Sorry for this dumb question, but I used to be a C++ programmer :)
Thanks
Jack
Dear Gurus,
The problem I am having now is I have to access to 2 different tables (each
with a flag in it)
Am I forced to join them together? or is there a better way of doing it?
Table 1
Key Flag1 Foreign key
11 True 15
Table 2
Foreign Key Flag2
15 False
I'm using ADO, Jet Database Engine for an Access Database
There is a function called willmove which is the ADO defined method which
only permits one recordset to pass into it.
Somethin' like
Private function adodc1_willmove(..., pRecordset as ADODB.Recordset)
So I couldn't add a second recordset for it. I still thinking about a join
as the solution. What's your opinion?
Thanks
Jack
.
- Follow-Ups:
- Re: ADO Join Recordset
- From: Doug Kirschman
- Re: ADO Join Recordset
- References:
- ADO Join Recordset
- From: Jack
- ADO Join Recordset
- Prev by Date: ADO Join Recordset
- Next by Date: Re: ADO Join Recordset
- Previous by thread: ADO Join Recordset
- Next by thread: Re: ADO Join Recordset
- Index(es):
Relevant Pages
|
|