G
Guest
I have Tabular Form "OtData", which has 4 fields. The first Field is "OtNo"
and its Data Type is Numeric.
I have set the Default value of "OtNo" on Form as :
Dmax("OtNo","OtDataBank")+1
It works normal.
Problem arises when the user deletes few records some time, which is must to
be deleted. For example he deleted Record No. 3251 and 4256.
But when he goes to new record the number which is produced by Default is
the Highest Number+1, I mean the new number is 5322.
Here the sequence numbers gap comes as the some records has been deleted.
Is there a method/way by which the default value should be missing numbers
of the sequence first and then the highest number.
So that the if the user deletes any record, new record OtNo will be the
missing numbers first and then the highest value+1. This will fill the gap of
the sequence number.
Please advise.
Regards.
Irshad
and its Data Type is Numeric.
I have set the Default value of "OtNo" on Form as :
Dmax("OtNo","OtDataBank")+1
It works normal.
Problem arises when the user deletes few records some time, which is must to
be deleted. For example he deleted Record No. 3251 and 4256.
But when he goes to new record the number which is produced by Default is
the Highest Number+1, I mean the new number is 5322.
Here the sequence numbers gap comes as the some records has been deleted.
Is there a method/way by which the default value should be missing numbers
of the sequence first and then the highest number.
So that the if the user deletes any record, new record OtNo will be the
missing numbers first and then the highest value+1. This will fill the gap of
the sequence number.
Please advise.
Regards.
Irshad