G
Guest
My question is how do I save a value in a table that is current blank to a
new value. I have a form for a pruchasing table which I want to add a new
record to based on supplier inspection results. I have a unique record number
which I want to increment by 1 and save as a new record number. The field
name is SWS Record No and the expression I currently have on the form is -->
=IIf(IsNull([SWS Record No]),("SWS"+CStr(100000+(1+Max([ID])))),[SWS Record
No]) where ID is a field of numbers in the table. When I do a new record
button ("*>") I display the new SWS Record No I want but I do not know how to
save this back into the table as a new record number. I also want to save the
month number and year in their respective fields based on calculating them
from an inputted date to the form. I appreciate any help and direction you
can provide. Thank You ahead of time...........
new value. I have a form for a pruchasing table which I want to add a new
record to based on supplier inspection results. I have a unique record number
which I want to increment by 1 and save as a new record number. The field
name is SWS Record No and the expression I currently have on the form is -->
=IIf(IsNull([SWS Record No]),("SWS"+CStr(100000+(1+Max([ID])))),[SWS Record
No]) where ID is a field of numbers in the table. When I do a new record
button ("*>") I display the new SWS Record No I want but I do not know how to
save this back into the table as a new record number. I also want to save the
month number and year in their respective fields based on calculating them
from an inputted date to the form. I appreciate any help and direction you
can provide. Thank You ahead of time...........