|
Karen,
Just thinking out loud so this might be
rubbish...
Could you create a [common] [temp] table that is
auto-numbered, select the idnum from that table then if, and only if, the row is
acceptable add it to the real table and select the current max idnum and add 1
to it?
Alternatively, if you want to fill in blank numbers
either keep a table with them in or use a cursor to find the first or last
blank?
One solution that I have used is to add rows to a table
each year/month/day/whatever and flag them as editable then edit the earliest
row that is available rather than adding rows. Horses for courses but it might
help. (My app actually checks that there are enough rows available and
automatically adds more if need be. I do so this so that I need only an edit
form and not an entry one as well.)
Regards,
Alastair.
|
- [RBASE-L] - Re: An autonumber trigger? David M. Blocker
- [RBASE-L] - Re: An autonumber trigger? Dennis McGrath
- [RBASE-L] - Re: An autonumber trigger? David M. Blocker
- [RBASE-L] - Re: An autonumber trigger? randyp
- [RBASE-L] - Re: An autonumber trigger? KarenTellef
- [RBASE-L] - Re: An autonumber trigger? David M. Blocker
- [RBASE-L] - Re: An autonumber trigger? MikeB
- [RBASE-L] - Re: An autonumber trigger? David Billing
- [RBASE-L] - Re: An autonumber trigger? Alastair Burr
- [RBASE-L] - Re: An autonumber trigger? KarenTellef

