Any help with what? You surely know you can't subtract a char field from another? - you'll get oprator/operand mismatch.
Furthermore, the line "NOOFTICKET= Sticket- Eticket=60" is like saying subtract a logical field from a char field, as Eticket=60 would yield .F. even if you DIDN'T get oprator/operand mismatch.
So what are you trying to achieve?
PS Why did you get rid of your photo?
>hi all,
>
>any idea, help
>
>Sticket=ABC100 CHAR TYPE
>
>Eticket=abc40 CHAR TYPE
>
>NOOFTICKET NUMARIC TYPE
>
>NOOFTICKET= Sticket- Eticket=60
>
>THANKS
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.