Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Network:
Windows 2003 Server
>>>>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.
Sergey,
Thanks for your thoughts about this. Yes, SET DELETED ON is the default. There are places in the program where I want to recall deleted items, but, I am careful to reset it when I finish.
This seems to be working OK now.
Jim
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement