set("order") doesn't work due to paths with spaces?

Author: Derek Kalweit

Posted: 2005-12-02 at 12:07:09

Hello. Another developer here just tracked down a bug that is

caused by set("order") returning a full "TAG blah OF c:\blah\blah with

spaces\blah.cdx" instead of just a "TAG blah", as was set with the

original "set order to" command. This is disasterous when you save off

the order, "set order to" to increase data handling performance, and

then try to set it back-- VFP doesn't know how to parse the spaces in

the path(and VFP doesn't quote it from Set("order")), and bombs. I'm

assuming we can parse the output to make it work, but hasn't this been

found before? Anyone have a better work-around? Thanks.

--

Derek

©2005 Derek Kalweit