Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleted records that won't stay deleted
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00288526
Message ID:
00288545
Views:
12
>I have a combo box that lists codes. When I delete a code by clicking on the delete button, the code is no longer in the list. However when I close the program & run it again, the deleted code is back in the list. What am I doing wrong?
>
In addition to what Evan pointed out, are you deleing the entry in the ComboBox's list of available values, or deleting and removing the record from the table that supplies the values used to populate the ComboBox?

If you're using a query to populate the listbox, and the deletion is not reflected back to the original table, it'll appear again whenever the query gets updated. If the query doesn't filter out deleted records, it'll get included each time as well.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform