Can someone please help me??? I cannot figure out what is wrong I have tired using the <= and I am still getting duplicate data in my report. I am currently using QAD version SP7 on eB server. Progress v 9.1c.
I only want the report to bring in the part data from my forecast budget file only, I do have to get the part description from the pt_mstr table and the work center from the ro_det table.
I tried it this way and this is where I got my duplicate data from.
[FONT=r_ansi]for each ff_mstr where ff_id = fcstid and ff_year = fcyear,[/FONT]
[FONT=r_ansi]each pt_mstr where pt_part = ff_part no-lock,[/FONT]
[FONT=r_ansi]each ro_det where ro_routing = ff_part no-lock[/FONT]
[FONT=r_ansi][FONT=r_ansi]break[/FONT]
[FONT=r_ansi]by ro_wkctr[/FONT]
[FONT=r_ansi]by ff_part:[/FONT]
I tried it this way and I got nothing...
for each ff_mstr where (ff_id >= fcstid and ff_id <= fcstid1)
and (ff_year >= fcyear and ff_year <= fcyear1)
no-lock,
each ro_det where
(ro_routing >= ff_part and ro_routing <= ff_part1) no-lock,
each pt_mstr where
(pt_part = ff_part and pt_part <= ff_part1) no-lock
[FONT=r_ansi]break[/FONT]
[FONT=r_ansi]by ro_wkctr[/FONT]
[FONT=r_ansi]by ff_part:[/FONT]
[FONT=r_ansi]Can someone please tell me the what I am missing here. HELP PLEASE!!![/FONT]
I am currently [/FONT]
I only want the report to bring in the part data from my forecast budget file only, I do have to get the part description from the pt_mstr table and the work center from the ro_det table.
I tried it this way and this is where I got my duplicate data from.
[FONT=r_ansi]for each ff_mstr where ff_id = fcstid and ff_year = fcyear,[/FONT]
[FONT=r_ansi]each pt_mstr where pt_part = ff_part no-lock,[/FONT]
[FONT=r_ansi]each ro_det where ro_routing = ff_part no-lock[/FONT]
[FONT=r_ansi][FONT=r_ansi]break[/FONT]
[FONT=r_ansi]by ro_wkctr[/FONT]
[FONT=r_ansi]by ff_part:[/FONT]
I tried it this way and I got nothing...
for each ff_mstr where (ff_id >= fcstid and ff_id <= fcstid1)
and (ff_year >= fcyear and ff_year <= fcyear1)
no-lock,
each ro_det where
(ro_routing >= ff_part and ro_routing <= ff_part1) no-lock,
each pt_mstr where
(pt_part = ff_part and pt_part <= ff_part1) no-lock
[FONT=r_ansi]break[/FONT]
[FONT=r_ansi]by ro_wkctr[/FONT]
[FONT=r_ansi]by ff_part:[/FONT]
[FONT=r_ansi]Can someone please tell me the what I am missing here. HELP PLEASE!!![/FONT]
I am currently [/FONT]