Hi,
How do you string two or more UPDATE commands to be executed with SQLEXEC()? I tried separating them with ";" but I get error message. Here is my test string:
cCommand = "update MyTable set Field1 = '111' where Field1 = '222'; update MyTable set Field2 = '111' where Field2= '222'"
SQLEXEC( nHandle, cCommand )
What is wrong with the above syntax? TIA.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham