SmartCarFun
Registered User.
- Local time
- Today, 04:27
- Joined
- Feb 17, 2012
- Messages
- 25
Hello All,
I have been using this bit of code to generate a unique reference,
It worked fine with the MS Access backend but since moving to SQL it won't work? Strangely when creating the number it won't work but on editing the number it works sometimes!!!!
Any help appreciated
I have been using this bit of code to generate a unique reference,
Code:
Private Sub SAP_Account_AfterUpdate()
Me.RemitReference.Value = Format([CreatedOn], "yyyymmdd") & "_" & [ID] & "_" & [SAP Account]
End Sub
It worked fine with the MS Access backend but since moving to SQL it won't work? Strangely when creating the number it won't work but on editing the number it works sometimes!!!!
Any help appreciated