Skip to Content
0
Former Member
Mar 29, 2010 at 11:33 AM

FOR/NEXT Loop

31 Views

Hi,

I am trying to use the FOR/NEXT loop as follows:

*FOR %A% =MAT10000, MAT10001, MAT10002

[MATL_ACC].[MAT10278]=[MATL_ACC].[MAT10278]+LOOKUP(EP5C37FST)([MATL_ACC].[%A%])

*COMMIT

*NEXT

where MATL_ACC is an account and MAT10000, MAT10001, MAT10002 and MAT10278, its members.

Somehow, the cursor does not enter the loop even when the conditions are met. What could be the reason for this?

TIA!