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

Setting a field in a form

Status
Not open for further replies.

aruba

Programmer
Sep 5, 2003
47
I am trying to set a field in a form in Access 2003 when it's loaded but I get an error message saying it can't find the form. Can you please tell me what I'm doing wrong? This worked fine in Access97.

dim url as string
url = Forms!frmMain!Path.Value

Hope someone can help. Thanks.
 
You are certain that when the code is run, the FrmMain is open?

ChaZ
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top