Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select and sum
Message
De
21/11/2004 07:36:36
 
 
À
21/11/2004 07:17:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00963216
Message ID:
00963310
Vues:
8
hi,
thank you very much,
it works.

1.how i can get all customers.
2.how i can see the result via grid
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, billno, SUM( total ) AS bill_total FROM Mstr WHERE ;
  UPPER( ALLTRIM( inname ) ) == lcName AND BETWEEN( datein, ldStart, ldEnd ) ;
  GROUP BY inname, billno ;
  ORDER BY inname INTO CURSOR csrBillTotals
  brow&&
thanks
best regards.
m.qasem
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform