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

Adding Text

Status
Not open for further replies.

FontanaS

Programmer
May 1, 2001
357
US
I have the following code that updates the SQL column with the variable. It works great.

cmd=cmd & "Rmks='" & ucase(trim(TOData(9))) & UCASE(Session("USERID")) & "' "

Now I want to add the words 'MODIFIED BY -' In between those two variables. I am getting errors on the syntax.
Can anyone help me with the ' and the "?

THANKS!
 
strTemp = ucase(trim(TOData(9))) & "MODIFIED BY -" & UCASE(Session("USERID"))

cmd=cmd & "Rmks='" & strtemp & "'" Saturday 12.00
im6.gif
im2.gif
im2.gif
20.00
im5.gif
im4.gif
im7.gif
3.00am
im8.gif
Sunday [img http
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top