When a part number is set up in our manufacturing software, the user clicks a check box to mark the part as purchased. I'm creating a similar form and want to have a check box display the same information. The manufacturing database stores the check box as Y when checked and N when not checked.
I tried 2 different ways to add code in the BeforeUpdate but neither is working.
First Example:
if Purchased = "Y" then check295 = True
else checkbox295 = False
Second Example
If Purchased = "Y" then check295 = -1
else checkbox295 = 0
What changes do I need to make to this code to get it to work? Thanks for your help,
Jeff
I tried 2 different ways to add code in the BeforeUpdate but neither is working.
First Example:
if Purchased = "Y" then check295 = True
else checkbox295 = False
Second Example
If Purchased = "Y" then check295 = -1
else checkbox295 = 0
What changes do I need to make to this code to get it to work? Thanks for your help,
Jeff