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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error 2046 when using DoCmd.OpenForm

Status
Not open for further replies.

Navel12

Programmer
Feb 21, 2003
17
US
I have developed an application in Visual Basic that opens an Access form. It was working prior to upgrading to Access 2000. Now I get an error message that openform is unavailable. What am I missing to open a form from VB.
 
Navel12 . . . .

Hmmmmm . . . . Exactly how are you opening the form?

My first suspicion is Library References, but need the above to make determination . . .

TheAceMan [wiggle]

 
I have declared appaccess as Access.Application

appaccess.DoCmd.Openform "formname"

Navel12
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top