|
-
Jan 18th, 2000, 11:22 AM
#1
Thread Starter
Member
ok here is my problem. I have 2 databases and I have a form that is going to be used for personal inventory file. they will select from one or both databases and put it into a third database how about do i do this? Any Suggestions?
Thanks
-
Jan 18th, 2000, 11:26 AM
#2
Frenzied Member
You can open multiple databases in your program.
-
Jan 18th, 2000, 11:27 AM
#3
Thread Starter
Member
-
Jan 18th, 2000, 05:51 PM
#4
Frenzied Member
If you've got 3 databases, you can use 3 data controls.
-
Jan 18th, 2000, 08:35 PM
#5
Thread Starter
Member
so there is no way except for putting 3 data conntrols in there to access those databases as one
-
Jan 19th, 2000, 01:00 AM
#6
Here is an example of opening two databases using DAO
Code:
'Open the databases
gsRWTSPath = App.Path + "\data\rwts.mdb"
gsRWTUPath = App.Path + "\data\rwtu.mdb"
Set gdbRWTS = Workspaces(0).OpenDatabase(gsRWTSPath)
Set gdbRWTU = Workspaces(0).OpenDatabase(gsRWTUPath)
Both gdbRWTS and gdbRWTU are dimensioned as Public Database.
------------------
Marty
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|