N
Naz
Hi
I'm trying to get the full name of the current user and reverse it from
surname firstname to firstname surname, using the following code, but it
doesn't work.
fgetfullname is a function that returns surname firstname
If i split it up i retrieves the surname and first name correctly but for
me.corname it just shows a bunch of question marks for the surname like this
me.corname = "john ?????"
Splitting it into firstname and surname give the correct answer for each but
again concatenating it and these question marks appear.
This is the code
userfirstname = Mid(fGetFullNameOfLoggedUser(),
InStr(fGetFullNameOfLoggedUser(), " ") + 1, 20) &
Left(fGetFullNameOfLoggedUser(), InStr(fGetFullNameOfLoggedUser(), " "))
me.corname = userfirstname
Can anyone help please?
I'm trying to get the full name of the current user and reverse it from
surname firstname to firstname surname, using the following code, but it
doesn't work.
fgetfullname is a function that returns surname firstname
If i split it up i retrieves the surname and first name correctly but for
me.corname it just shows a bunch of question marks for the surname like this
me.corname = "john ?????"
Splitting it into firstname and surname give the correct answer for each but
again concatenating it and these question marks appear.
This is the code
userfirstname = Mid(fGetFullNameOfLoggedUser(),
InStr(fGetFullNameOfLoggedUser(), " ") + 1, 20) &
Left(fGetFullNameOfLoggedUser(), InStr(fGetFullNameOfLoggedUser(), " "))
me.corname = userfirstname
Can anyone help please?