I have a reference number which takes the form 40184567_00.
Before the record is saved a recordset is created to check if another user has added the reference. If this is the case the last two digits are to be increased by the recordcount.
Is there a way to do this? The problem obviously is the "_".
P.s I've tried int(txtRef) but to no avail. John
Before the record is saved a recordset is created to check if another user has added the reference. If this is the case the last two digits are to be increased by the recordcount.
Is there a way to do this? The problem obviously is the "_".
P.s I've tried int(txtRef) but to no avail. John