Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Go bottom
Message
De
15/10/2004 07:30:58
 
 
À
15/10/2004 05:00:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00950231
Message ID:
00951680
Vues:
10
>hi ,
>
>if i start now to insert my first bill
>i want to get billno=1 at my THISFORM.TEXT1.VALUE ,
>.
>i try to change as
>1.IF _TALLY >= 0
>2.IF _TALLY > 0 or _TALLY =0
>i get error message (laArray is not found),
>
>
>
>this code works exellent but if i have at least one bill at my table
>SELECT MAX(BILLNO) FROM mstr INTO ARRAY laArray
>IF _TALLY > 0
>  THISFORM.TEXT1.VALUE = laArray + 1
>ENDIF
>
>
>
>thanks
>m.qasem

ANOTHER WAY
CALCULATE IN mstr MAX(BILLNO+1) TO THISFORM.TEXT1.VALUE
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform