Changing Properties of Form

L'apprentis

Redcifer
Local time
Today, 13:57
Joined
Jun 22, 2005
Messages
177
Here is a bit of my Code,
I was trying to change the property of a form from opening it from an other form but it doesn't work. What would be the apropriate method to do it?

Code:
 'Open Drawing Detail form
    stLinkCriteria = "[ItemID]=" & Me![TxtParentItemID]
    DoCmd.OpenForm stDocName, , , stLinkCriteria
  [COLOR=Red]  stDocName.AllowAdditions = False[/COLOR]
 
forms(stDocName).AllowAdditions = False
 

Users who are viewing this thread

Back
Top Bottom