begin2know
Technical User
I've read through the various threads with much interest in using Crystal's Add Command capability, but can't figure out how to combine Update and Select statements in one query. I've tried using a semicolon and parentheses-- with the semicolon I get "Characters found after end of SQL statement," and with parentheses I get "Syntax error in union query." I'm connecting with ODBC to an Access database. Here's what I have without the punctuation...
update user_values
set amount1={?amt1}, amount2={?amt2}, numeric1={?num1}
where user_values.user_values={?userval}
select * from user_values
Any help would be greatly appreciated. Thanks.
~stephe
update user_values
set amount1={?amt1}, amount2={?amt2}, numeric1={?num1}
where user_values.user_values={?userval}
select * from user_values
Any help would be greatly appreciated. Thanks.
~stephe