I got to questions I cant figure out (trying to learn access on my own).
(1) how do I write a record to a table that the form is not based on?
example:
I want to write the form variable [totaldue] to a table called [Sale] in the record [total]
This should be a new record in the table
(2) How to I update a field in a table not that is form is not based on *** Got this WORKING ***
example:
I pull dlookup current number of items on hand, subtract the number that was just purchased and now need to can total on hand
[qtyonhand] - [qty] = [newqty]
so I need to write [newqty] to a table called [inventory] to a field call [on hand] and of course the [itemnumber] must match so that Im updating to the correct item.
I have bought 2 access books (Im not sure they are written in English).
I would appreciate any help.
Thanks
(1) how do I write a record to a table that the form is not based on?
example:
I want to write the form variable [totaldue] to a table called [Sale] in the record [total]
This should be a new record in the table
(2) How to I update a field in a table not that is form is not based on *** Got this WORKING ***
example:
I pull dlookup current number of items on hand, subtract the number that was just purchased and now need to can total on hand
[qtyonhand] - [qty] = [newqty]
so I need to write [newqty] to a table called [inventory] to a field call [on hand] and of course the [itemnumber] must match so that Im updating to the correct item.
I have bought 2 access books (Im not sure they are written in English).
I would appreciate any help.
Thanks