Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting a deletion to be seen right away
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Getting a deletion to be seen right away
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows 2000
Network:
Windows NT
Miscellaneous
Thread ID:
01164770
Message ID:
01164770
Views:
47
using a free 26 dbf.
set resource is at 1,1
set deleted is ON

The problem: a deletion is not being seen by the program until 1.5 seconds go by.

The code deletes a record and then does a seek with a key that matches the deleted record and another record that was just inserted in the same table. The seek finds the first record, which is the deleted record.

We tried flush , locate and go (reccount()) but none worked at ensuring that the deleted record gets seen as being deleted. The only thing that worked was:
do while !deleted()
wait window 'record not deleted yet' timeout .1
enddo


Open to suggestions and ideas on how to get the deletion seen right away.
Next
Reply
Map
View

Click here to load this message in the networking platform