I'm trying to make an update query that will update one set of fields WHERE X=Yes and another set WHERE Y=Yes. I'm using the code like "UPDATE SET Tasks.Main=-1 WHERE TASKS.ALLTASKS = Yes;
Can I add another set of updates with another condition something like:
"UPDATE SET Tasks.Main=-1 WHERE TASKS.ALLTASKS = Yes OR UPDATE SET Tasks.OtherMain=-1 Where TASKS.OTHERTASKS=Yes?"
It would seem possible, but I can't seem to get the syntax right if it can be done.
Thanks for any ideas.
Can I add another set of updates with another condition something like:
"UPDATE SET Tasks.Main=-1 WHERE TASKS.ALLTASKS = Yes OR UPDATE SET Tasks.OtherMain=-1 Where TASKS.OTHERTASKS=Yes?"
It would seem possible, but I can't seem to get the syntax right if it can be done.
Thanks for any ideas.