2009 Nov 18 1:46 AM
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
2009 Nov 18 2:04 AM
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
2009 Nov 18 2:16 AM
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.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |