Urgent access help!!

Permabanned
Joined
9 Oct 2006
Posts
2,819
help-me.png




When I click the command button 24 I want it to subtract 1 off the quantity in stock and add 1 to the quantity sold...

How do I do this in the expression builder or in terms of code!


This project is due in 3 hours :p
 
hit the '...' button on the property pane for onclick and in the code window type the below in cmd #24 handler

Code:
[quantity field name].value = [quantity field name].value -1

I accept payment in Krispy Kremes and/or KFC.
 
hit the '...' button on the property pane for onclick and in the code window type the below in cmd #24 handler

Code:
[quantity field name].value = [quantity field name].value -1

I accept payment in Krispy Kremes and/or KFC.

I was about to propose marrige to you... But it doesn't do anything.. :( I've entered:

Code:
[handset-quantity-in].[Value]=[handset-quantity-in].[Value]-1
 
Is the form based on an updatable query or table in the first place? if it's not, you won't be able to edit the bound fields within the text.
 
Is the form based on an updatable query or table in the first place? if it's not, you won't be able to edit the bound fields within the text.

based on a table.. I scrapped the idea :p


hand in is in 20 mins... It's looking alright considering im the old peson who has a clue about databases in my group.. I've got some pretty sales charts and everything lol

edit the whole the stock control system was the only fall down of the db..
 
Back
Top Bottom