Type Mismatch

G

Guest

Using a command button...on click....I am using.....
Forms!frmPurchaseOrder.AllowEdits=NO, This will work for my form but not the
subform. I get the error message Type Mismatch when I use....
Forms!frmPurchaseOrder.Form!fsubItemsOrdered.AllowEdits=NO

Any help will be greatly appreciated
 
D

Douglas J. Steele

Forms!frmPurchaseOrder!fsubItemsOrdered.Form.AllowEdits

(That's assuming that the name of the subform control on frmPurchaseOrder is
fsubItemsOrdered. Note that the name of the subform control isn't always the
same as the name of the form being used as a subform)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top