General information
Category:
Coding, syntax & commands
Hi Cetin...
In the previous example, the ? was a type which I forgot to add. Let me give you
another example listed below:
*--
lnUnt_ship = 10
lcOrd_numb = '1234'
lcItem_numb = 'TEST"
lcItm_desc = "Brackets [1/2)"
lcSQL = "UPDATE cOrders SET " + ;
"unt_ship = unt_ship + " + TRANSFORM(lnUnt_ship) + ", " +;
"WHERE ord_numb = [" + lcOrd_numb + "] AND itm_numb = [" + lcItm_numb + "] "
=SQLEXEC(gnC, lcSQL)
*--
In the example above, the brackets in the lcItm_desc breakes the statement and causes a syntax error. How can I avoid this...
Thank you again
Raz
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only