Hi Everyone,
I switched over to a 64bit Windows 10 Pro machine about a month ago and have been running various VFP apps without any issues. However, today I encountered a problem running an app which extracts data into a space delimited file. The space delimited file now had 2 spaces in between data columns when previously there was only 1 space. I can replicate the problem in the command window:
? "12345", ltrim(str(678.90,12,2)) returns 12345 678.90 (2 spaces between the 5 and 6)
should return 12345 678.90 (1 spaces between the 5 and 6)
? "12345"+" "+ltrim(str(678.90,12,2)) returns 12345 678.90 (1 spaces between the 5 and 6)
So, the problem has something to do with the comma separator. SET SPACE ON is set. This should only cause the comma separator to add a single space. I'm wondering if there is some default VFP setting that I'm forgetting to adjust or some other simple adjustment. Has anyone else encountered this issue or does anyone have a suggestion? Also, fwiw, I'm running VFP 9.0 SP2.
Thanks in advance,
Jeff
I switched over to a 64bit Windows 10 Pro machine about a month ago and have been running various VFP apps without any issues. However, today I encountered a problem running an app which extracts data into a space delimited file. The space delimited file now had 2 spaces in between data columns when previously there was only 1 space. I can replicate the problem in the command window:
? "12345", ltrim(str(678.90,12,2)) returns 12345 678.90 (2 spaces between the 5 and 6)
should return 12345 678.90 (1 spaces between the 5 and 6)
? "12345"+" "+ltrim(str(678.90,12,2)) returns 12345 678.90 (1 spaces between the 5 and 6)
So, the problem has something to do with the comma separator. SET SPACE ON is set. This should only cause the comma separator to add a single space. I'm wondering if there is some default VFP setting that I'm forgetting to adjust or some other simple adjustment. Has anyone else encountered this issue or does anyone have a suggestion? Also, fwiw, I'm running VFP 9.0 SP2.
Thanks in advance,
Jeff