Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select and sum
Message
From
22/11/2004 04:26:34
 
 
To
22/11/2004 04:09:14
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00963216
Message ID:
00963417
Views:
11
>hi,
>thank you very much,it works.
>
>i append new small code to print out the result ,as under
>but how i can sum the totals for every customers at my report,.
>
>

>
>LOCAL ldStart, ldEnd
>ldStart = thisform.pageframe1.page1.text3.value
>ldEnd = thisform.pageframe1.page1.text5.value
>
>SELECT datein, inname, billno, SUM( total ) AS bill_total FROM Mstr WHERE ;
> BETWEEN( datein, ldStart, ldEnd ) ;
> GROUP BY inname, billno,datein ;
> ORDER BY inname INTO CURSOR qTmp
>SELECT csrBillTotals
>ZAP
>APPEND FROM DBF( [qTmp] )
>Thisform.pageframe1.page1.grid1.refresh()
>REPORT FORM allcost preview &&
>

>Have you obtained any VFP reference books yet?i haven't any books, i depend at vfp8.help
>thanks.
>best regards.
>m.qasem
>thanks.

Mohammed,

As to the books, have a look at this http://docs.rinet.ru/GlyadiLisu/ It may help
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform