Hi manfred,

try this :

    /*
        Assuming the selected table was "CustTable" and your
        ComboBox-Control is named "FieldList"
    */

    DictTable       dictTable = new DictTable(tablenum(CustTable));
    DictField       dictField;
    integer         fieldCounter;
    ;
    for (fieldCounter = 0; fieldCounter <= dictTable.fieldCnt();
fieldCounter++)
    {
        dictField = new DictField(dictTable.id(),
dictTable.fieldCnt2Id(fieldCounter));
        if (!dictField.isSystem())
            FieldList.add(dictField.name());
    }

Regards
wohegro




Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to