Plex 2E

 View Only
  • 1.  2E Synon Display File

    Posted Aug 22, 2019 02:30 PM
      |   view attached
    I created a display file where the Check selection fields is using a field that I don't know why.  So in the display file, when the source is generated just before the USER: Initialize subfile record from DBF record, there is code to check 3 fields, 2 of which are keys to the file, but a third field is not a key. I don't know how it is being selected to generate the code.  So the source generated has the logic to check for scan limit reached.  Inside this Perform is the Check selection fields.  How does it determine what fields to include in the Check logic?

    Attachment(s)



  • 2.  RE: 2E Synon Display File
    Best Answer

    Posted Aug 23, 2019 07:44 AM
    John, you should be able to drop any non-key fields at the CTL section of DSPFIL.  On the device design, use option - against that field COVDTL, to drop it from the CTL section.  Once you've source-genned the function, that field validation ​should not be there anymore.  In fact, I would think you should drop any non-key fields at the CTL section, so to make the source leaner.


  • 3.  RE: 2E Synon Display File

    Posted Aug 23, 2019 03:13 PM
    Thank you, this appears to be working.