By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,965 Members | 2,043 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,965 IT Pros & Developers. It's quick & easy.

Call by reference

P: n/a
I try to call one database forms and tables into another database
without creating tables and forms.

Database where (target) i need to open forms and tables:
insurance.mdb (In the same database I click on TOOLS - REFERENCES and
add accountreceivable.mdb as i need all forms and table from that
database)

Database from where (source) i need forms and tables
accountreceivable.mdb

I try to call forms and tables from accountreceivable.mdb into
insurance.mdb. Do i use the below function in insurance database to
open tables and forms from 2nd database. If i do where should i write
this function i mean in the module of insurance database or in the
module of accountreceivable database. How to i call that function

Function OpenForm(byref vformname as string) as boolean
docmd.open vformname,,,,,acdialog
OpenForm = true

end function

Thank You.

Aug 16 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.