Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subtract
Message
De
07/03/2006 06:28:38
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brésil
 
 
À
07/03/2006 04:45:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Divers
Thread ID:
01101978
Message ID:
01102001
Vues:
17
Hi Mohammed,
Are your three first positions letter forever and the number begin in the fourth position?
If your answer yes so you can to do it:
lnSticket = Val(SubStr(Sticket, 4))
lnEticket = Val(SubStr(Eticket, 4))
In other case you can to do a parse and look for a first number and substract it.
Good luck!


>hi all,
>any idea, help
>Sticket=ABC100 CHAR TYPE
>Eticket=abc40  CHAR TYPE
>NOOFTICKET NUMARIC TYPE
>NOOFTICKET=  Sticket- Eticket=60
>THANKS
Erick
Força Sempre!
Strength Always!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform