>I have a listbox that contains data from a view.
>When I set a filter on that view with ('Set filter') and the result is more than one record the controls on the form becomes enabled ?
Objects should automatically be disabled when you are not on a valid record (e.g., you are on eof()), enabled otherwise.
Perhaps you have to requery() your cursor, or refresh() your form / your controls.
HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)