Type Mismatch

C

cacacaconnie

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)
 
Top