Skip to Content
author's profile photo Former Member
Former Member

Formatted Search screen - populate multiple fields

I have an Employee Id field in my screen.

On clicking Choose button,I use a Formatted Search screen to populate value to that field.

I also have other fields like employee Name,department which should be populated, once an employee Id is chosen from Formatted Search screen.

The functionality is like that of "Purchase Order screen".

Once a vendor Id is chosen Name,Contact Person etc get populated in "Purchase Order screen".

How do I do that?

Should I trap the Choose button event of Formatted Search screen?

Please help.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 13, 2004 at 09:57 AM

    You would be better just using the VALIDATE event on the original item, that way the same code will also work when a user types in a value rather than uses the formatted search.

    You will probably need to manually shift the focus to a different field after returning from the formatted search to ensure the validate event is fired.

    Regards,

    John.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.