Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

subform linked to different database

Status
Not open for further replies.

scorpiofire2

Programmer
Joined
Jul 17, 2003
Messages
4
Location
US

I have one database that has many tables (in a separate backend), queries, forms and reports. All operations stem from a multitab switchboard. I would like to split the operations so that the report generation option is actually located in a separate database. In otherwords when the user hits the report tab on the switchboard it will appear the same a it has in the past but in reality it will be a subform that is located in a separate database and all info returned will be generated from that separate database. Can this be done or is it just another of my "personal computer fantasies?"


Programmer wannabe, No one can go back and make a new beginning, but it's never too late to make a new ending.
 
Link the tables or queries in the foreign database to current and then treat like it belonged.


Rollie E
 
Sorry Rollie,
You'll need to be a little more specific in your response. I've already created the extra database and placed the linked tables in it. Where I am lost is on how to integrate the front end form into an existing form. How can I connect a subform as if it were a bound object from a separate application?

Programmer wannabe, No one can go back and make a new beginning, but it's never too late to make a new ending.
 
If you do a File/Import you can point to another database and import anything in that database - include tables and queries.

If they are tables, you can choose LINK. This makes your database 'think' that the table is it's own and it can now be used to link a subform to a mainform. Is that any clearer?

Hang in there and keep asking till you get your answer. We all started out as HL Menkin said, "I was not always as smart as I presently am!!!"

Rollie E
 
I see what you are saying now. I was concentrating on the front end problem when the front end does not need to be altered. Just change where the front end is pulling from. Couldn't see the forest! Thanks

Programmer wannabe, No one can go back and make a new beginning, but it's never too late to make a new ending.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top