The message is there for a reason. You should correct the situation causing the lack of available values. I've seen this message several times and it's always due to an error on my part. I'd rather see this message than not!
My users define a subset, and then pick from amongst that subset. This subset when undefined has no values. This is the behavior I want. So while I'm guessing I can't change the message, my questions stands (in the hope that I can).
Perhaps you could use a script trigger to perform a script that would check for values in the related table and have the script return a dialog more to your liking if there are no values available.
A bit more convoluted solution is to modify your relationship so that it always links to at least one record. That one record can provide a value to your value list with the message formulated as you desire.
I sometimes use return separated list of values as a key to match records by more than one specific value...
Then, to keep the user from selecting the message as a value, add an OnObjectSave (Drop down list) or OnObjectModify (other value list formats) trigger that performs a script to check for and delete such a value should it be selected.
Thanks Rick and Phil.
Perhaps you could use a script trigger to perform a script that would check for values in the related table and have the script return a dialog more to your liking if there are no values available. - Rick Whitelaw
Hey can you pls tell me how to write a script to check if value list is empty and avoid that error message..
I am using dwindling value list, and have 4 items in value list..if clicked on 5th row in portal, gets that message..
ither I want to hide that message or after using all the items from value list it should stop user to add new entrys to portal..
any idea.. ????..
Note : I am adding portal rows via scripted button..
Thanks in advance..
Just figured it Out..