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

Refering to an invalid reference

Status
Not open for further replies.

Costefran

Technical User
Jan 2, 2008
197
GB
Can anyone help
My form opens fine and works fine until I set the allow additions to no and then I get the message that I am refering to an invalid object which shows as a subform requery on the forms open event which I debug

The reason I want to set Allow Additions to no is to prevent the user moving to another record
 
Instead of using .Allowadditions for this, how about controlling (or hiding) the navigation buttons (if present), and seeting the .cycle property of the form (in form design view) to "Current Record"

Regards

Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
UK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top