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

formula mini question 1

Status
Not open for further replies.

doorbreaker

Programmer
Nov 19, 2002
91
0
0
GB
hi,

i am using the following formula to make an sql update statement in excel:

="update tablename set weight = '"&B2&"',name='"&C2&"',other='"&D2&"' where pk = "&A2

how do i add a comma (;) at the end? It errors if i try.

Thanks

Chris
 
This raises an error ?
="update tablename set weight = '"&B2&"',name='"&C2&"',other='"&D2&"' where pk = "&A2 & ";"

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top