Re: [Axapta-Knowledge-Village] query for the fields of a table

2005-01-18 Thread Markus Turunen
Yeah, now it's working. Thanks! Raul Llorente Pea/OPENSOLUTIONS wrote: Have a look over the dictTable class: dictTable dt; int numberOfFields; int fieldId; int i; ; dt = new dictTable(tableNum(CustTable)); //name of table

Re: [Axapta-Knowledge-Village] query for the fields of a table

2005-01-17 Thread Raul Llorente Peña/OPENSOLUTIONS
Have a look over the dictTable class:dictTable dt; int numberOfFields; int fieldId; int i; ; dt = new dictTable(tableNum(CustTable)); //name of table info(dt.name()); numberOfFields = dt.fieldCnt(); info(int2str(numberOfFields)); for (i = 1; i = numberOfFields; i++) //if you want All fields