S
Sailormike
I notice ur 10 commands say never expose the autonumber.
I have 2 tables tblContracts and Lots linked 1 to many enforced on
autonumber in tblContracts. That autonumber is also the paper file number for
that contract. The client wanted a consective number system (they were
keeping this data in an Excel SS and assigning numbers by hand) with NO
skips. I was a little leary of this but was assured that when the user set
down to add a record everything needed was in hand. Turns out that ain't so.
They sometimes start a record (open the frmaddNewContract) and have to stop.
And they may NEVER add this record. The deal fell thru for whatever good and
sufficent reason. BUT Access has already assigned a number.
So we have a missing file number. For one of the partners this a BIG DEAL.
I have created a set of tmp tables (tmptblContracts and tmpLots) that allow
then to save entries and go back and edit or delete them altogether, and only
after they are SURE this is going to be a deal do they append the record to
the permenant table. But this append process, all done with macros, is slow,
error prone, cumbersome, just not a very good solution.
I know just enough VBA to be dangerous. Any ideas on a better way?
SailorMike
I have 2 tables tblContracts and Lots linked 1 to many enforced on
autonumber in tblContracts. That autonumber is also the paper file number for
that contract. The client wanted a consective number system (they were
keeping this data in an Excel SS and assigning numbers by hand) with NO
skips. I was a little leary of this but was assured that when the user set
down to add a record everything needed was in hand. Turns out that ain't so.
They sometimes start a record (open the frmaddNewContract) and have to stop.
And they may NEVER add this record. The deal fell thru for whatever good and
sufficent reason. BUT Access has already assigned a number.
So we have a missing file number. For one of the partners this a BIG DEAL.
I have created a set of tmp tables (tmptblContracts and tmpLots) that allow
then to save entries and go back and edit or delete them altogether, and only
after they are SURE this is going to be a deal do they append the record to
the permenant table. But this append process, all done with macros, is slow,
error prone, cumbersome, just not a very good solution.
I know just enough VBA to be dangerous. Any ideas on a better way?
SailorMike