Cycle Updates

kanjeep

Registered User.
Local time
Today, 05:05
Joined
May 21, 2007
Messages
19
I am creating a form for a machine operator that with update the number of cycles the machine has to do as they are completed. I have created a command button to subtract 1 from the cycle field amount if the button is clicked but nothing is happening. I even tried creating a macro that executes the "SetValue" command but it still isn't updating the Cycle amount. Any help is appreciated.
 
VBA code to do this would be:

In the button's click event put:
Code:
If Me.YourTextBoxNameHere <> 0 Then
   Me.YourTextBoxNameHere = Me.YourTextBoxNameHere - 1
End If
 
You are the bomb Bob!!!!

Thanks again for your input. Seems to be working just fine.
 

Users who are viewing this thread

Back
Top Bottom