>Ed,
>
>Thanks for the great tips from everyone! I was able to implement your suggestions and it worked (it's sloppy because it still dumps it to the _screen object, but creating a temp window and activating it wasn't any better, since the user still see's the window). But I'm only using it to completely scan through the app and make sure the data is fully optimized.
>
Create the Window using DEFINE WINDOW, ACTIVATE WINDOW, and then use MOVE WINDOW so that it's off-screen. Now your user can't see it!
>So thanks to all again!
>-Ed
>
>
>>>Does anyone know how to send the results of SYS(3054) Optimization
>>>level to a file. When you turn it on it dumps strings to the active form, but I cannot seem to capture them to a file.
>>>
>>>I would like to turn it on and off in my application and capture the results for later review...
>>
>>Just before issuing it, try:
>>SET ALTERNATE TO
Filename To receive output ADDITIVE
>>SET ALTERNATE ON
>>ACTIVATE SCREEN
>>
>>This will write to the default fox window; you could just as easily create a window and use that as a buffer, using ACTIVATE WINDOW. It seems to ignore the SET CONSOLE setting, an annoyance, and doesn't seem to write to DEBUGOUT, either, but does echo the results to the alternate file if one has been established and opened. When you finish recording your data, remember to SET ALTERNATE OFF and SET ALTERNATE TO to force the text file to be closed.