>Help!
>
>Can someone please tell me what I'm missing in running a _XTAB query in a
>production environment? If I compile & run application within VFP 6.0 (by
>typing: DO MYPROGRAM.EXE at command prompt), the _XTAB utility creates a
>cross-tab table properly. If I run application as stand-alone (outside of
>VFP command window), the program doesn't create the cross-tab output file.
>
>I've SET CLASSLIB TO _UTILITY.VCX to be sure the library is referenced and
>available in startup program.
>
>What gives?? Any help would be greatly appreciated.
I think the problem here may be that the _GENXTAB system variable is blank when you're running outside of the VFP development enviroment. The utility class calls on VFPXTAB.PRG, but it doesn't give a full path, so I suspect this is your problem. If you include VFPXTAB.PRG in your project, I'll bet this will work for you.