I am afraid you want to work with integers like with numeric and you are pushing the limit of the VFP integer. The integer can hold up to 10 digits: 2,147,483,647
Z=0000000000000
CREATE CURSOR tt ( t l )
APPEND BLANK
SELECT z from tt INTO CURSOR t
MODIFY STRUCTURE
>To reproduce
>
>
Z=00000000000.00
>CREATE CURSOR tt ( t l )
>APPEND BLANK
>SELECT z from tt INTO CURSOR t
>MODIFY STRUCTURE
>
>observed: Width is 13
>expected: Width must be 14
>applies to Vfp 9, Vfp 7
>
>note: SELECT 00000000000.00 from tt INTO CURSOR t works as expected
>
>I have a lot of SELECT Z ...
>statements in my application and customer scripts.
>
>Please advice how to fix this without re-writing all SELECT statements in aplivcation and forcing all customers to re-write all scripts ?