“Please Select an Item” when edit a record needed

Jan 2, 2010 at 4:37 PM


 I find this really useful. It works as advertised. Thank you. I have one suggestion. In my case I cascade down to 4 levels. Each item, however, may not need all 4 levels. The “Please Select an Item” works great when I have a new item. I can stop at level 2 and ignore the 3<sup>rd</sup> and 4th levels.  However when I edit the record I just created the “Please Select an Item” is not displayed and the drop downs are filled by the default top record of that drop down. When I save the edited record it saves that default in drop downs 3 and 4.

An enhancement would be to display the “Please Select an Item”  when a record is edited and the drop down was not filled in when created or previously edited.

Thank you for this code.