ESS DmeFilter in popups

 3 Replies
 0 Subscribed to this topic
 68 Subscribed to this forum
Sort:
Author
Messages
Goober
Basic Member
Posts: 17
Basic Member
    This is the Education/Qualifications form in ESS. (Qualifications.htm)

    I created a new index via dbdef over the pcodes table to sort by Description. Then blddbdict and dbreorg which created the view just fine.
    It currently has two indexes defined (pcoset1 - type,code) and (pcoset2 - code, type) mine is (prgpco01 - description, code, type)
    I then went to the qualifications.htm to change the filterDmeCall to point to my new index (change pcoset1 to prgpco01)
    I click the dropdown on the Institution (*note: institution is same as instructor) then a pop-up displays my data for selection or filtering.
    No data displays on the first load.
    I then have to hit filter and it still shows that data as if my index does not exist.

    Is this the proper way to change the sort sequence on a popup?

    case "instructor":
    //KC01 Filter Select default by Description First by Placing first in list below
    dmeFilter.addFilterField("description", 30, getSeaPhrase("JOB_OPENINGS_2","ESS"), false);
    dmeFilter.addFilterField("code", 10, getSeaPhrase("QUAL_20","ESS"), true);
    filterDmeCall(dmeFilter,
    "jsreturn",
    "pcodes",
    "pcoset1", <----- Changed to my new index prgpco01
    "code;description",
    "EI",
    "active",
    null,
    dmeFilter.getNbrRecords(),
    null);

    .
    John Henley
    Posts: 3353
      Yes, that should work OK.
      Did you do an IOSCacheRefresh after the blddbdict/dbreorg?
      Thanks for using the LawsonGuru.com forums!
      John
      Goober
      Basic Member
      Posts: 17
      Basic Member
        Yes , I just tried the IOSCacheRefresh with no difference in results ..
        Demi
        Veteran Member
        Posts: 67
        Veteran Member
          Hey Goober, Have you made any progress here?