Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox: can it not display cursor items marked for dele
Message
 
 
To
01/05/2008 16:44:58
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01314627
Message ID:
01314632
Views:
6
>>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.

Jim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform