How to know if my LOV is empty or not??? [message #319405] |
Sat, 10 May 2008 13:51 |
urnikhil
Messages: 42 Registered: March 2008
|
Member |
|
|
Hi Friends,
This is my first post to this forum. Anyways It would be of great help if anyone can let me know " How to know If my LOV contains values in it or not before displaying it" ???
Thanks,
Nik.
|
|
|
|
Re: How to know if my LOV is empty or not??? [message #319411 is a reply to message #319406] |
Sat, 10 May 2008 14:44 |
urnikhil
Messages: 42 Registered: March 2008
|
Member |
|
|
Hi,
If the LOV is empty.. It's throwing me an FRM error saying "List of Values do not contain any entries"... I don't want to handle this using ON-ERROR trigger.
At the same time I don't want to check for the COUNT(*) each time I need to display the LOV, the reason being that the LOV is so often called by the user.
I want to know if there is any record group (or) LOV property which will let me know that the LOV is empty or not... Based on this I want to shoot an alert message if LOV is empty when the user clicks on the text item for which the LOV is attached instead of a FRM error which the user is not familiar with...
Nik.
|
|
|
|
|