Skip to Content
avatar image
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 comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    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 comment
    10|10000 characters needed characters exceeded