needadvice
Programmer
I have the following code that increments to the next number each time a form is opened:
X = DMax("[REF#]", "OrderTBL")
X = X + 1
Me.[Ref#] = X
Is there any way to add the prefix "E" to the number so it come out like E1,E2 etc.. I concatenated it but that only worked once, then the next number would not generate. I finally just made it two seperate fields but am curious to know if there is a way.
Thanks for any help.
X = DMax("[REF#]", "OrderTBL")
X = X + 1
Me.[Ref#] = X
Is there any way to add the prefix "E" to the number so it come out like E1,E2 etc.. I concatenated it but that only worked once, then the next number would not generate. I finally just made it two seperate fields but am curious to know if there is a way.
Thanks for any help.