hi

int i = 0;

while (i<= enumcnt(nameofenum))
{
     i is the value of enum, do something with i.
     i++
}

will work as long as the useenumvalues property of the enum is set to true

regards

harry deshpande

-----Original Message-----
From: prabodh_kelkar [mailto:[EMAIL PROTECTED]
Sent: Monday, 15 September 2003 9:08 p.m.
To: [EMAIL PROTECTED]
Subject: [development-axapta] How to access enum values in loop


Hi,
I want to use the values of enum in loop. I want to use the counter of the loop to navigate through the elements/values of an enum. i.e. I want to get next value of enum as loop navigates......How to do that?
Help will be highly appreciated........
Thanks,
Prabodh Kelkar







Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/





Yahoo! Groups Sponsor ADVERTISEMENT
Click Here!


Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

Reply via email to