>Help!
>
>I have a report generated from a genxtab result. When I ran from foxpro 2.6 integrated environment, it was working fine. However When I distributed it using the distribution kit (make exe), the executable couldn't run the report properly. If I ran the executable file in the integrated environment, it worked fine.
>
>I cannot figure out what is wrong. It seems to be some setup that needs to be done. Anyone can help?
>
>I patched my genxtab using the file downloaded from MS.
>I
You don't necessary need to include the program in your project. In this case, you should have a copy of the compiled program (FXP file) that's pointed to by the _GENXTAB system variable. You can initialize this in your CONFIG.FPW file with:
_GENXTAB = C:\FOXPROW\GENXTAB.FXP
Naturally, the directory should reflect the actual current location of the file.
When you wish to execute the program, use:
DO (_GENXTAB) WITH 'QUERY'
HTH,
George
George
Ubi caritas et amor, deus ibi est