PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 8/4/2017 1:41 PM by  Ragu Raghavan
Paint Screen - Job Title retrieval for job-code
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Leonard Courchaine
Veteran Member
(143 points)
Veteran Member
Posts:55


Send Message:

--
8/3/2017 4:57 PM

    Hi all,  Sorry if I'm missing something simple.  

    Trying to paint a custom screen that goes with a custom table.  Custom table is simply job-code, chg-min, chg-max.  I'm developing a Paint Screen form that has job-code, title (output only:  description from job-code table), chg-min, chg-max.  In the form I've developed,  I populate the job-code, chg-min and ch-max then click A (Add) and *then* the title appears.  I'd like the title to appear after the user types the job-code and presses Tab.  

    Any thoughts on how to do this?  

    Thanks so much,  Lenny

    Ragu Raghavan
    Private
    Private
    Veteran Member
    (1297 points)
    Veteran Member
    Posts:451


    Send Message:

    --
    8/3/2017 7:03 PM
    After generating the code, you may need to play around with Key numbers in the .scr file.
    Leonard Courchaine
    Veteran Member
    (143 points)
    Veteran Member
    Posts:55


    Send Message:

    --
    8/4/2017 11:31 AM

    Hi Ragu,  Thanks for responding.  Yes, I played with keys before posting as I was comparing existing Lawson programs to mine.  Might you be able to elaborate on the correct solution/approach?  Thanks again, Lenny

    Ragu Raghavan
    Private
    Private
    Veteran Member
    (1297 points)
    Veteran Member
    Posts:451


    Send Message:

    --
    8/4/2017 1:41 PM
    For the description to appear automatically on tab, there needs to be a rule in the .sr file. For the rule to kick in, the correct fields/key numbers need to be available on the screen. As an example, there is probably a rule to populate job description when job code is entered. However, this may need company field (hidden or visible) to be present on the screen. Or you may need to define your own rule.
    You are not authorized to post a reply.