Re: Multiple Access database connections
From: Bill Wanschura (BillWanschura_at_discussions.microsoft.com)
Date: 09/27/04
- Next message: Bill Wanschura: "RE: Multiple Access database connections"
- Previous message: Bill Wanschura: "RE: Multiple Access database connections"
- In reply to: Andrew: "Re: Multiple Access database connections"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 27 Sep 2004 05:57:02 -0700
Thanks, Andrew. It was kind of a sample question, in that I have to go
through a series of databases to perform the task at hand. I didn't want to
set up a link for all the databases, so I'll try the dataset solution.
Bill W.
"Andrew" wrote:
> "Bill Wanschura" <BillWanschura@discussions.microsoft.com> wrote in message
> news:F6F97B62-D28C-432B-AA65-E2431F812B84@microsoft.com...
> > I'm new to ADO and I think I'm missing something. I need to connect to
> > two
> > different tables on two different Access databases. I have been able to
> > get
> > the connections and recordsets set up so I can list the rows in each
> > table.
> >
> > How do I set up a query using the two tables to cerate another recordset?
> > I
> > am so used to Tabledefs and Querydefs that I am not understanding the
> > object
> > model of Commands and Recordsets.
> >
> > My master table (tblMaster) on databaseA has a stateCode field that is
> > also
> > on my refStateName table on databaseB. I want to JOIN tblMaster and
> > refStateName on stateCode and list the stateCode field from tblMaster and
> > the stateName field from refStateName.
> >
> > What am I missing here?
> >
> Why not create a linked table in one of the datasets pointing to the table
> in the other dataset? Then you can execute a query that joins the two tables
> quite easily.
> Andrew
>
>
>
- Next message: Bill Wanschura: "RE: Multiple Access database connections"
- Previous message: Bill Wanschura: "RE: Multiple Access database connections"
- In reply to: Andrew: "Re: Multiple Access database connections"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|