Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select and sum
Message
From
21/11/2004 07:17:12
 
 
To
21/11/2004 05:43:21
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00963216
Message ID:
00963307
Views:
11
LOCAL ldStart, ldEnd, lcName
lcName = UPPER( ALLTRIM( thisform.pageframe1.page1.text1.Value ) )
ldStart = thisform.pageframe1.page1.text3.value 
ldEnd = thisform.pageframe1.page1.text5.value

SELECT inname, bill, SUM( total ) AS bill_total FROM Mstr WHERE ;
  UPPER( ALLTRIM( inname ) ) == lcName AND BETWEEN( datein, ldStart, ldEnd ) ;
  GROUP BY inname, bill ;
  ORDER BY inname INTO CURSOR csrBillTotals
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform