Dear all, i have a question on subquery on calculated field. i have extracted the first 4 letters from a field to form a lookup id [left(A,4)] = Y (end results of the left formula). in the same query in design value, i want to join Y to another table (let's called it TABLE2) that has the same reference id [Y]. however, i couldnt do it within the same query. i know i could create a query with the calculated field and then do another query to join but i would likle to do it in one query.
i am not sure whether can i achieve this using subquery in the criteria section of the design query - can someone point me to the syntax? someting like "select X from TABLE1 where TABLE2.Y=TABLE1.left(A,4)..". Sorry i am really noob in sql and i know i got the syntax messed up but i hope it somehow hints at what i was trying to achieve if my words aint clear enough
i am not sure whether can i achieve this using subquery in the criteria section of the design query - can someone point me to the syntax? someting like "select X from TABLE1 where TABLE2.Y=TABLE1.left(A,4)..". Sorry i am really noob in sql and i know i got the syntax messed up but i hope it somehow hints at what i was trying to achieve if my words aint clear enough