Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select
Message
From
06/04/2010 03:08:20
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Re: Select
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01458778
Message ID:
01458867
Views:
19
thank you so much, One approach it works, it is very help

i want to give this soluation more more........than 3 stars

have anice time

>>thanks again
>>Is Name + Month combination unique? yes
>>And each Name repeats for each month?yes
>
>One approach - not good performance
>
>   select T.Nam, T.ID1, (select sum(Y2010) as YTD from NewTest T1 where T1.Nam = T.Name and T1.ID1 <= T.ID1) as YTD from 
>   NewTest T into cursor crsYTD
>
>Second approach I already wrote in my other message - use scan and intermediate cursor.
Previous
Reply
Map
View

Click here to load this message in the networking platform