Plex 2E

 View Only
  • 1.  Need to use an alternate SELRCD on a Known by field

    Posted Mar 21, 2019 01:02 PM

    Within the Validate key screen user point of a n Edit Record built over an SQL generated table, I have placed a condition to check the position and if F4 has been presses for a Known by key value and calling a non-default customized SELRCD over a RSQ logical file. The 04 indicator is not being set and therefore the SELRCD is not called. Is there a solution to this?
    We have a table with a compound key one of which is a Known by.
    The first three key values respond to a F4=Prompt and display a SELRCD for each. The fourth key field has a custom SELRCD which is called from within the USER: Validate key screen user point. This code does not execute when F4=Prompt is pressed.

     

    We have come up with a work around by way of a scan and replace of code.



  • 2.  Re: Need to use an alternate SELRCD on a Known by field

    Posted Mar 22, 2019 09:39 AM

    The validate key screen field has a test (actually the user points after display screen and before confirm prompt) to test if the prompt key was pressed (CALC user points do not if model val YCUAPMT = *CALC).  This is why your code wan't executing.  I'm not sure if this logic can be overridden without the use of source code