Open Forum

Expand all | Collapse all

Dexterity procedure/function to get the list of fields from a specific window/Form

  • 1.  Dexterity procedure/function to get the list of fields from a specific window/Form

    Posted 28 days ago
    Hi,

    I am using dexterity as the development platform/environment and was wondering if there is a procedure or function that can retrieve a list of fields from a window/Form like the Window Descriptions in GP?

    I have found in Dexterity function library the set or Resource functions but none of them seem to be able to get a list of fields from a specific window.

    Resource_FillSeriesLIst get a list of Form/Table/Report but not for fields in a specific window
    Resource_GetNthResource will get all fields in dictionary but not for fields in a specific window


    Thanks in advance,
    Tak

    #Technical
    ​​
    Academy - Online Interactive Learning from Experts


  • 2.  RE: Dexterity procedure/function to get the list of fields from a specific window/Form

    Posted 27 days ago
    Have found the solution from Cross Dictionary Dexterity Development - David Musgrave

    An example of the code is in the project has 2 ways to get the the fields from window/form.

    One way is using system function..

    in integer ProductID; in long FormID; in long WindowID; inout anonymous field FieldListField; // list box inout anonymous field TableListField; // list box system SYS_OLFD_SET_DICT, ProductID; {5084} system 5124, FormID, WindowID, FieldListField, TableListField;​




    ------------------------------
    Tak Yee Man
    Cogsdale
    Charlottetown PE
    ------------------------------

    Academy - Online Interactive Learning from Experts


  • 3.  RE: Dexterity procedure/function to get the list of fields from a specific window/Form

    GPUG ALL STAR
    Posted 25 days ago
    Hi @Tak Man

    ​This information is covered in my Pushing the Limits with Dexterity session.

    The link you used was an old out-of-date link, the current link is below:

    https://winthropdc.wordpress.com/2008/07/23/cross-dictionary-dexterity-development/


    More Dexterity Links: https://winthropdc.wordpress.com/dexterity/

    ------------------------------
    David Musgrave MVP, GPUG All-Star

    Managing Director
    Winthrop Development Consultants

    Perth, Western Australia

    http://www.winthropdc.com
    ------------------------------

    Academy - Online Interactive Learning from Experts


If you've found this thread useful, dive deeper into User Group community content by role