Z
Zanstemic
I'm working on comparing a number that is being calcualting (vbCaseNumber)
with the last number in a table Attendees. If the numbers match, it should
increment by 1.
I'm using DLast but not sure if it's giving the desired result since it's
still giving an error.
chkCaseNumber = DLast([CaseNumber], "Attendees")
If vbCaseNumber = ckCaseNumber Then
vbIncrementNumber = vbIncrementNumber + 1
vbCaseNumber = Format(Date, "yymmdd") & Format(vbIncrementNumber, "000")
Else
with the last number in a table Attendees. If the numbers match, it should
increment by 1.
I'm using DLast but not sure if it's giving the desired result since it's
still giving an error.
chkCaseNumber = DLast([CaseNumber], "Attendees")
If vbCaseNumber = ckCaseNumber Then
vbIncrementNumber = vbIncrementNumber + 1
vbCaseNumber = Format(Date, "yymmdd") & Format(vbIncrementNumber, "000")
Else