I know this is simple, but I'm lost !
I have two tables A and B. Both have a common field PO_NUM. My query is supposed to get 3 fields from table A and 5 fields from table B. Condition is : Only those records that have a matching PO_NUM in both tables plus one field in table B must match user entered runtime date criteria.
Ex: All the records from 1-30 Sept 16, when user enters Sep-16 at runtime
How can I do this ?
I wrote a query with datepart function but it says too complex to be evaluated ?
No syntax or other error message.
Can someone please help soon ??
I have two tables A and B. Both have a common field PO_NUM. My query is supposed to get 3 fields from table A and 5 fields from table B. Condition is : Only those records that have a matching PO_NUM in both tables plus one field in table B must match user entered runtime date criteria.
Ex: All the records from 1-30 Sept 16, when user enters Sep-16 at runtime
How can I do this ?
I wrote a query with datepart function but it says too complex to be evaluated ?
No syntax or other error message.
Can someone please help soon ??