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

Author: Charlie Coleman

Posted: 2005-12-02 at 13:05:44

At 12:07 PM 12/2/2005 -0500, Derek Kalweit wrote:

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

-Charlie

©2005 Charlie Coleman