Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I subtract 1 from a field when a record is added...

Status
Not open for further replies.

eddrimmer

Technical User
Joined
Jan 27, 2004
Messages
4
Location
GB
Hi, I have a sales form and subform. Everytime the record is added, I need to somehow get the amount of stock deducted as the items are sold. Is there anyway to do this?

The item quantity is stored in a number field.
 
eddrimmer,

You need to make yourself a little clearer....you have your sales form which presumably is running on a sales table or a query of some sort. And how about your subform? I'm also assuming that you have some stock table...Please, confirm what it is you have and what it is you are trying to achieve...

Thanks and regards,

Francis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top