Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selecting from a view
Message
From
25/07/2003 04:45:34
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
 
 
To
25/07/2003 04:33:41
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00813385
Message ID:
00813420
Views:
11
Because buffering. A SELECT command will be executed against the temp file - DBF('view_alias'). After a TABLEUPDATE(), the results must be the same.


>Thanks Dorin
>
>I did end up doing that. But I am still curious why that works when SQL against the view ignores any changes made.
>
>Nick Mason
>>You can save the recno() into a local variable, execute a SUM command and then GO TO record number saved into variabile.
>>
>>LOCAL lnRecno
>>lnRecno = RECNO()
>>SUM ...
>>...
>>GOTO lnRecno
>>
>>
>>>Hi
>>>
>>>I have a view displayed on a grid.
>>>
>>>The user can amend values on the grid updating the view.
>>>
>>>I then want to add up one of the columns in the view but when I select the sum of one of the columns it doesn't reflect the changes made on the grid.
>>>
>>>Whats the best way to ensure I am adding up what the user can see.
>>>
>>>Nick Mason
Previous
Reply
Map
View

Click here to load this message in the networking platform