>>>I have a listbox whose RowSource is a cursor. Some of the records in the cursor are marked for deletion. Is there some way to prevent the listbox from displaying the records marked for deletion, without actually removing them from the cursor?
>>>
>>>Thanks,
>>>Jim
>>
>>Do you have SET DELETED ON? I don't know if that will help, since I never use listboxes like this, but it may be the ticket for you.
>>
>>-cmt
>
>Carsten,
>
>Thanks for your suggestion. I was wondering if I could limit this to the listbox itself. As far as I know, SET DELETED ON will apply to all tables in the current data session. So, I am not sure about what side effects I will run into elsewhere in my program.
>
SET DELETED ON should be default setting in your application.
--sb--