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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update SQL Query; Concatenate 3 existing fields.

Status
Not open for further replies.

tburns

Technical User
Jan 10, 2001
2
US
I have a field MAPLOT which is empty. I would like to concatenate three fields: MAP1 LOT and SUB which have values into the field MAPLOT. Here is my pitiful stab at this so far:

UPDATE: [maplot] = [map1] + [lot] + ;

Thanks in advance, first time supplicant.
 
I would do it like this

Create your Update statement with a static value
and get it to work
then
right above that line put your concatenetaion routine

MyVariable = [MAP1] & [LOT] &
UPDATE [yourTable] SET [yourTable].[maplot] = " & MyVariable & ";"

DougP, MCP
dposton@universal1.com

Ask me how Bar-codes can help you be more productive.
Or visit my WEB site
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top