Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subtract
Message
From
07/03/2006 06:28:38
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brazil
 
 
To
07/03/2006 04:45:15
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01101978
Message ID:
01102001
Views:
16
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!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform