Just a simple one by I thought I would share it because I couldn't find an answer as simple as this one that I created.
I wanted to change the name format of a string field from 'surname,firstname' to 'firstname surname'
Existing {fullnamestring}:
Smith,John
What I wanted:
John Smith
This is the code to do it:
right ({fullnamestring}, length({fullnamestring}) - instr({fullnamestring}, ","))
& " " &
Left ({fullnamestring}, instr({fullnamestring}, ",")-1)
I hope this helps other novices like me.
Regards
Phil Gevaux
I wanted to change the name format of a string field from 'surname,firstname' to 'firstname surname'
Existing {fullnamestring}:
Smith,John
What I wanted:
John Smith
This is the code to do it:
right ({fullnamestring}, length({fullnamestring}) - instr({fullnamestring}, ","))
& " " &
Left ({fullnamestring}, instr({fullnamestring}, ",")-1)
I hope this helps other novices like me.
Regards
Phil Gevaux