is there anyway that i can basically do the following in a sql clause ,(i know syntax isn’t correct, but that’s not the point, it’s the idea)
set rs = select title, copy, masterID from table1
//if the masterID is not 0 then instead of using the copy from table1, use the copy from table2
if masterID<>0 then
set rs2 = "select copy from table2 where masterID =" & masterID
copy = rs(0)
I hope that makes sense. Look forward to hearing your responses. Thanks!
I think what you want is: