Roly Reefer
Registered User.
- Local time
- Today, 20:00
- Joined
- Jan 28, 2005
- Messages
- 37
Hi,
I am learning vba and have some code to change to change the allow additions / allow deletions properties on a form, but can't get it to change the properties on the form (which i have set to no for both on the form - hoping to get them to change to yes, so i can then change other properties with code).
Private Sub Form_Load()
strFormAdd = Me.AllowAdditions
strFormDel = Me.AllowDeletions
End Sub
I have tried it in a few other form_ places but it still doesn't work. Please can somebody give me the right code to make this work and area to put it.
Thanks very much,
Roly
I am learning vba and have some code to change to change the allow additions / allow deletions properties on a form, but can't get it to change the properties on the form (which i have set to no for both on the form - hoping to get them to change to yes, so i can then change other properties with code).
Private Sub Form_Load()
strFormAdd = Me.AllowAdditions
strFormDel = Me.AllowDeletions
End Sub
I have tried it in a few other form_ places but it still doesn't work. Please can somebody give me the right code to make this work and area to put it.
Thanks very much,
Roly