T
Tony Williams
I have a form PrintInvoices that is based on a table Invoices. The table has
one field invnbr. The form has a control txtinvnbr with the control source
being invnbr and a default value of =DMax("InvNbr","Invoices")+1. The form
also has many other controls which are all calculated. The form is opened
from a command button on a form projects which carries across data about the
project.
PROBLEM: On opening the form the value of invnbr is 1 which is the last
number in the table. But when I close the form the table is not updated and
when I open it a second time the value of invnbr is still 1. Where am I
going wrong?
TIA
Tony
one field invnbr. The form has a control txtinvnbr with the control source
being invnbr and a default value of =DMax("InvNbr","Invoices")+1. The form
also has many other controls which are all calculated. The form is opened
from a command button on a form projects which carries across data about the
project.
PROBLEM: On opening the form the value of invnbr is 1 which is the last
number in the table. But when I close the form the table is not updated and
when I open it a second time the value of invnbr is still 1. Where am I
going wrong?
TIA
Tony