Options

Getting the option string list

EstefaniaEstefania Member Posts: 16
Anyone knows how to get the options of an option field? For example on a report with "Sales Header", get a list of the options that has "Document type", without knowing how many of them can be.

Thanks a lot

Comments

  • Options
    abtmnabtmn Member Posts: 27
    You do this by using the RecordRef and FieldRef datatypes...

    RecordRef.OPEN(TABLEID);
    FieldRef := RecordRef.FIELD(FIELDID);
    FieldRef.OPTIONCAPTION
Sign In or Register to comment.