G
Guest
I want to keep a log of who used my database and when. I can record the user
name in the txt file but the date is written to the file as a series of
question marks eg “??? ?? ?â€
Dim f As Long
f = FreeFile
Open "C:\testfile.txt" For Append Shared As #f
Print #f, fOSUserName & " " & fGetFullNameOfLoggedUser & " " & Date
Close #f
The above code results in this being written to the text file:
fisches Seth Fischer ??? ?? ?
Thanks for any help
Seth
name in the txt file but the date is written to the file as a series of
question marks eg “??? ?? ?â€
Dim f As Long
f = FreeFile
Open "C:\testfile.txt" For Append Shared As #f
Print #f, fOSUserName & " " & fGetFullNameOfLoggedUser & " " & Date
Close #f
The above code results in this being written to the text file:
fisches Seth Fischer ??? ?? ?
Thanks for any help
Seth