Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trying to auto fill in field based on multiple fields

Status
Not open for further replies.

gouldish

Technical User
Aug 15, 2001
32
US
I have a contact management database that I want to auto complete the salutation field based on the salutation + First Name + MI + Last Name + suffex. It is for ease of use and creating labels. I have to have a seporate salutation filed because it is not always going to be those fields some people require different salutations. How do I go about creating this. Do I do it in the form or the table?
 
Perhaps something along the lines of the following in your source query (you could also set it as the control source of a textbox on your label report with a leading '='):

Trim([Salutation] & " " & [FirstName] & " " & [MI] & " " & [LastName] & " " & [Suffix]) &" ,"

Let them hate - so long as they fear... Lucius Accius
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top