thmsjlmnt3953
Registered User.
- Local time
- Today, 17:01
- Joined
- May 20, 2014
- Messages
- 120
Hi
i have the following function declared however cant get it to work in the sql string..
however cant get it to return the required value in the SQL string..
any help would be appreciated?
i have the following function declared however cant get it to work in the sql string..
Code:
Public Function GetSystemID() As String
GetSystemID = fOSUserName
End Function
however cant get it to return the required value in the SQL string..
Code:
DoCmd.RunSQL "INSERT INTO tblLogs (LoginUser, LoginTime, SystemUser) " _
& "VALUES(forms.frmlogin.txtUserID.Value, Now(),GetSystemID) "
any help would be appreciated?