I figured it out.....
the apps here that use FoxPro for Windows use Y2KFOX to start them.
The FoxPro for Windows Developement starts with it....so.. it found the correct records to print.
The EXE by itself did not because we were not starting it with Y2KFOX.
So I had to add Y2KFOX to the startup of the EXE.
NOW it works.....
Tommy
>This is a strange one....
>
>A legacy Foxpro for Windows 2.6 app here (it is an EXE)... behaves thusly...
>
>1).. as source code.... previews and prints out the only report it has...
>
>2).. as an EXE... UNDER FOXPRO... ( DO confirm.exe ) also previews and prints out the only report it has...
>
>BUT..
>
>3).. run as an EXE ( confirm.exe ) DOES NOT preview NOR does it print out the report...
>
>
>STRANGE... what am I missing???? hints???
>
>
>Tommy
Tommy Tillman A+ NetWork+ MCP