Hi, please help!
I am a beginner to VB so please excuse my poor programming.
I have an 'Equipment' table with a field 'Available' which has a checkbox assigned, the default value is 'Yes' (checked).
I then have a 'Submit' button within a 'Loan' form. I would like it so that when the button is clicked the 'Available' checkbox automatically changes to 'No' (un-checked).
Is this possible?
I have tried the following:
Private Sub Submit_Click()
Update Equipment
Set Available = 0
End Sub
No surprise, it doesn't work!
Any ideas?
Thanks, Rachael
I am a beginner to VB so please excuse my poor programming.
I have an 'Equipment' table with a field 'Available' which has a checkbox assigned, the default value is 'Yes' (checked).
I then have a 'Submit' button within a 'Loan' form. I would like it so that when the button is clicked the 'Available' checkbox automatically changes to 'No' (un-checked).
Is this possible?
I have tried the following:
Private Sub Submit_Click()
Update Equipment
Set Available = 0
End Sub
No surprise, it doesn't work!
Any ideas?
Thanks, Rachael