Concatination Problems

i'm building a sql statement, and i want to concatinate a string right next to a form variable. well it wont let me, so i think. here's the syntax i'm using and the error. well actually the syntax is in the error.

Code:
Microsoft VBScript compilation error '800a0401'
Expected end of statement
/editdetail.asp, line 10

makechanges="update sheetlog set datein = '"&request.form("datein")&" 12:00:00 PM', keyedinby = "&request.form("inby")&happy&" where logid = "&request.querystring("edid")

View Replies


ADVERTISEMENT

Boolean Variable Concatination

if a declare a variale say
Dim Flag
and assing it to true a boolean value
Flag = True
and if i try to concatinate it with another string like
mystr="<my-str>" & Flag & "</my-str>"
and if the machine is non english the mystr will contain something like
<my-str>that language characters</my-str>
what should i do to get True in mystr what ever the Language of windows is.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved