ppkgoldengun
MPH1 is a seasoned vetern and wise to the ways of Access.
Having said that, there are several things to try...
- You can update the record, grab the generated autonumber, use it to calculate your transaction number, then edit the record to add the transaction number to the record.
- With languages that dont support autonumber, or in a more controlled enviroment, one can use a reference or control table to track all serial numbers. The reference or control table would be pretty simple, an highly controlled (all updates are done by a central update program. Ex.
ControlTbl
TransType
TransID
TransType would be a simple text field - INVOICE, JOURNAL, CHEQUE. The TransID would be the unique transaction identifier - either a serial number maintained by the system or by programming.
Richard