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

how to convert response from... allforms

Status
Not open for further replies.

Rizar

Programmer
Apr 30, 2004
11
CA
How to convert response from

application.currentproject.allforms.item(x)

to

dim Form1 as Form

the type of application.currentproject.allforms is not compatible with a dim form...
 
application.currentproject.allforms.item(x) is an AccessObject.
You may try something like this:
Set Form1 = CurrenProject.Application.Forms(CurrentProject.AllForms.Item(x).Name)

Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top