David Ball
Registered User.
- Local time
- Tomorrow, 02:05
- Joined
- Aug 9, 2010
- Messages
- 230
Hi,
I have a combo box and have set "Allow Deletions" to "No" in Properties.
I want to be able to allow the user to delete records if they press an "Allow Edit" button.
Can I use VBA code from a button's On Click event to change the "Allow Deletions" setting to "Yes"?
I tried the code shown below but it does not work ( also tried "True" instead of "Yes").
Forms![formEquipmentType]![subformTestEquip/FIC Subform].Allow Deletions = Yes
I get a message "Object does not support this property or method".
Thanks
Dave B
I have a combo box and have set "Allow Deletions" to "No" in Properties.
I want to be able to allow the user to delete records if they press an "Allow Edit" button.
Can I use VBA code from a button's On Click event to change the "Allow Deletions" setting to "Yes"?
I tried the code shown below but it does not work ( also tried "True" instead of "Yes").
Forms![formEquipmentType]![subformTestEquip/FIC Subform].Allow Deletions = Yes
I get a message "Object does not support this property or method".
Thanks
Dave B