i am trying to excute a query
it gives an error SQL:Invalid use of subquery
i excuted the same query in MSAccess it worked fine
what could be the problem
Thanks in advance
Code:
sele a.sup_no, (sele c.ord_qty from po_dtal c where c.po_no=b.po_no and c.invent_no=b.invent_no) as ord_qty, b.po_no,b.ord_unit,' ' as Gstatus from grn_hdr a, grn_dtal b where a.grn_no=b.grn_no
i excuted the same query in MSAccess it worked fine
what could be the problem
Thanks in advance