Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_XTAB Query
Message
 
To
01/10/2001 10:47:35
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00562544
Message ID:
00562669
Views:
15
>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.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform