text field strings

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Access Training and help » Text field strings

Text field strings

resolvedResolved · Low Priority · Version Standard

Emma has attended:
Access Introduction course

Text field strings

can i string different fields of text (ie first name. middle name. last name) together into another field? as with the concatenate option in excell?

RE: text field strings

Hi Emma, thank you for the post, yes that can be accomplished, just as in Excel you can concatenate fields. In the query design grid select a blank field and give the field a name (label) in this case Name, follow it with a colon (:) then enter your fields, they should be enclosed in square brackets [] if your fields are coming from different tables, the table name must be inserted with the period (.) separating ie [TableName.FieldName] any text or characters that you wish to insert should be outside the square brackets and enclosed with quotation marks (") the concatenation symbol is the ampersand (&) so finally your field should be like this: Name:[TableName.FieldName]&" "&[Tablename.FieldName] where a space between first and second names is enclosed in the " " marks. I hope that helps, best regards Pete.


 

Access tip:

Modal forms

If you have created a form / switchboard and dont want people to get away from using the switchboard, you can change the form properites for Modal to On.

View all Access hints and tips


Server loaded in 0.09 secs.