Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Screen painter search help

Former Member
0 Likes
935

Hi All,

I have created a custom search help and assigned it to a filed in the screen painter. This field provides me the F4 help, but when i manually enter some other data which is not present in search help it will accept it.

How to configure so that when we enter any data which is not present in search help it should throw an error.

Thanks,

Mars

Hi All,

I have created a custom search help and assigned it to a filed in the screen painter. This field provides me the F4 help, but when i manually enter some other data which is not present in search help it will accept it.

How to configure so that when we enter any data which is not present in search help it should throw an error.

Thanks,

Mars

2 REPLIES 2
Read only

Former Member
0 Likes
491

Hi mars,

You could do a work around by querying on the table source of your search help based on the user input. If your query returns zero record, then it means that the user input does not exist in the search help, from there you now have the control to continue with the program or not. You could notify the user if the data he entered does not exist.

Regards,

Richard

Read only

Former Member
0 Likes
491

Hi,

You created a Elementry search help and attached to a field in screen. Is it right then -

In PAI use chain ... endchain. Inside call a module in which, Select query from a table for a given input .

If it not get selected , use a error message 'E' which won't allow to proceed untill a value entered is correct.

If the field in not a manditory , check only if the field is not initial.