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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Append or Update Query Not Updating Table

Status
Not open for further replies.

rkottke

Technical User
Aug 13, 2001
6
US
Hi,
How do I have a number that's currently in a table be reduced by a number that's entered in a form and be replaced by the new total?
 
In the UpdateTo field place the code like this:

[FieldName]-[Forms]![MyFormName]![MyControlName]

HTH Joe Miller
joe.miller@flotech.net
 
Or you could put that result in avariable and then update your table using that variable.

Both ways will work for you, but I always tend to avoid calculations of values during an update of database.

Have fun...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top