Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subtract
Message
From
07/03/2006 06:41:14
 
 
To
07/03/2006 06:28:38
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brazil
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:
01102004
Views:
17
hi,
If your answer yes ?NO
In other case you can to do A PARSE and look for a first number and substract it.? I HAVE NO IDEA

THANKS.

>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
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform