Open an Access form in VB (and not VBA!)

snorkyller

New member
Local time
Today, 02:50
Joined
Jul 6, 2001
Messages
7
I want to know if it's possible to open
a specific Access form in the Vibual Basic
code (and not VBA!).

I know that I can open the startup form by simply
opening the database, but I don't know how to
open an another form.

There's a function (OpenRecordset) that open
recordset in the Database object, but there is
no function to open a form. And it seem that
it's impossible to use the Access DoCmd object
in Visual Basic code.

So I don't understand...

Thank you in advance for helping me.
 
I have a very limited knowledge of VB, but to open a form in VB (not VBA), the call is:

FormName.Show

You don't have to use a DoCmd call.

Does this answer your question?

jamie
 

Users who are viewing this thread

Back
Top Bottom