Originally Posted by
rkalapura
Hai,
I have a transaction table and two corresponding forms for receipts and issues in MS Access 2010. Records are either "Receipt" or "Issue". I want to have an automatic update, (incremented by one) on "Receipt No" and "Issue No" fields (both are numeric, double) whenever I add a new record to this table. I mean when I add a new record of Receipt, Receipt No field should give the next sequence number and the same with issue records. I cant use autonumber because both are in one table. Is there any way I can use macro or vb code in the form/field events?
Thank you in advance for your valuable advise.
Best regards