S
Shivalee Gupta via AccessMonster.com
i have this query:
SELECT agr_1251.AGR_NAME
FROM agr_1251
WHERE (((agr_1251.OBJECT)="s_tcode") AND ((agr_1251.FIELD)="tcd") AND (
(agr_1251.LOW)="f110"))
OR
(((agr_1251.OBJECT)="f_regu_buk") AND ((agr_1251.FIELD)="fbtch" And
(agr_1251.FIELD)="bukrs") AND ((agr_1251.LOW)="2" And (agr_1251.LOW)="3"
And (agr_1251.LOW)="11" And (agr_1251.LOW)="21" And (agr_1251.LOW)="25" And
(agr_1251.LOW)=""))
OR
(((agr_1251.OBJECT)="f_regu_koa") AND ((agr_1251.FIELD)="fbtch" And
(agr_1251.FIELD)="koart") AND ((agr_1251.LOW)="2" And (agr_1251.LOW)="3"
And (agr_1251.LOW)="11" And (agr_1251.LOW)="21" And (agr_1251.LOW)="25" And
(agr_1251.LOW)=""));
it is just a simple query which shows a name depending on all the 3 grouped
values listed.
if there are 10 records in a file, and this query is for the first record,
can i attach this query to the first record? so i can run this query
recursively for the rest of the 9 records?
please help.
shivalee
SELECT agr_1251.AGR_NAME
FROM agr_1251
WHERE (((agr_1251.OBJECT)="s_tcode") AND ((agr_1251.FIELD)="tcd") AND (
(agr_1251.LOW)="f110"))
OR
(((agr_1251.OBJECT)="f_regu_buk") AND ((agr_1251.FIELD)="fbtch" And
(agr_1251.FIELD)="bukrs") AND ((agr_1251.LOW)="2" And (agr_1251.LOW)="3"
And (agr_1251.LOW)="11" And (agr_1251.LOW)="21" And (agr_1251.LOW)="25" And
(agr_1251.LOW)=""))
OR
(((agr_1251.OBJECT)="f_regu_koa") AND ((agr_1251.FIELD)="fbtch" And
(agr_1251.FIELD)="koart") AND ((agr_1251.LOW)="2" And (agr_1251.LOW)="3"
And (agr_1251.LOW)="11" And (agr_1251.LOW)="21" And (agr_1251.LOW)="25" And
(agr_1251.LOW)=""));
it is just a simple query which shows a name depending on all the 3 grouped
values listed.
if there are 10 records in a file, and this query is for the first record,
can i attach this query to the first record? so i can run this query
recursively for the rest of the 9 records?
please help.
shivalee