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

docmd.setproperty wont work

Status
Not open for further replies.

shaunacol

Programmer
Jan 29, 2001
226
GB
I am sure I must be doing something silly...I am just trying to set the value of a control in my subform to false (the code is embedded into my main form behind a button).

I have tried numerous different syntax.... putting into square brackets, round brackets, referencing the subform directly, full stops instead of exclamation marks...even using a macro. When I search on line there is a lot of conflicting info on referencing subforms.

With this code below I get error 438 "object doesn't support this property or method" whereas before I was getting the error message that it didn't recognise the object at all but I'm out of options on what to try now...any help appreciated thanks

DoCmd.SetProperty Forms!FrmProcessEmails!SubAdult.available, acPropertyValue, 0
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top