Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SELECT SUM on view
Message
From
05/10/2005 22:56:31
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
05/10/2005 20:37:51
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01056558
Message ID:
01056590
Views:
18
>I am using SELECT SUM on local view. The view is optimistic table buffering. If one record on view is deleted, but tableupdate is not issued, SELECT SUM consider DELETED() record or not?

DELETE, just like other commands that modify data, must be confirmed with TableUpdate(). So, it seems logical that the records will not be considered as deleted in any other place - SELECT-SQL does the equivalent of opening the table AGAIN.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform