Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Speed in results
Message
From
12/08/2008 22:18:28
Sonny Tabano
Trams Printwork, Inc.
Mabalacat, Philippines
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01338372
Message ID:
01338493
Views:
19
Hi Naomi,

Im using VFP version 9 SP1. The table's (CVdtl) main index is CVnoacct.

The reasons i've asked about those 3 options are:
1. I have 2 tables, 1 header and 1 detail tables
2. Header tables re computes total amount based on details table as follows:
2.1. When user add, edit/modifies or deleted records/content in the detail tables
2.2. when user edit or delete from detail table, i want the cursor/record pointed to stay in that record after recomputing the header table's total. if i use select-sql for recomputing the totals, it does just like that since it computes using the temporary cursor and not the actual detail table. but when i use the do while or scan while using the detail table, the record pointer goes to the last record.

So base on your views and as well from Boris, Tamar and Robert, I guess i would use the select-sql without the group by (optimize) in this case

Thanks for all the reply. And Naomi, im a (gentle)man... :)

Sonny
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform