Change properties of Continuous form

racemadnss

Registered User.
Local time
Today, 15:26
Joined
May 18, 2004
Messages
58
Id like to change the properties of my continous form from Allowadditions "No" to Allowaddittions "Yes" at the click of a button

Because when the form loads it has that blank field and the bottom, and I dont want to see that unless I want to add a record.

What kind of VB will I need to write to be able to do this?

Thanks
 
Put this behind a command buttons ON CLICK - EVENT PROCEDURE

Private Sub Command0_Click()
If Me.AllowAdditions = False Then
Me.AllowAdditions = True
Else
Me.AllowAdditions = False
End If

End Sub

In this example the command buttons named Command0
 

Users who are viewing this thread

Back
Top Bottom