Update TextField

Slight sigh...
([LastName]+",") & (" "+[FirstName]) & (" "+[MiddleInitial])
 
If you want to get rid of the "," (comma) if there is only a last name try this:

Code:
=IIf(IsNull([LastName]) And IsNull([MiddleName]),[FirstName],IIf(IsNull([LastName]),[FirstName] & " " & [MiddleName],IIf(IsNull([FirstName]) And IsNull([MiddleName]),[LastName],([LastName] & "," & " " & [FirstName] & " " & [MiddleName]))))
 
This is now SOLVED. For future reference:

From the Text Box Properties of the field > Data tab > Control Source is the code below:
=([txtLastName]+", ") & ([txtFirstName]+" ") & ([txtMiddleInitial]+".")


Thanks so much Minty for this.
 

Users who are viewing this thread

Back
Top Bottom