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

Author: Derek Kalweit

Posted: 2005-12-02 at 13:33:00

> > 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

> >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

> I think you want to use the ORDER() function instead of the SET("ORDER") call.

Thank you Charlie and Dan. I guess that code was written when used to

calling SET() for all the other settings that had to be set back.

Thank god for consistency............

--

Derek

©2005 Derek Kalweit