Re: _genxtab doesnt work in compiled EXE file in Foxpro for Dos 2.6

From: Zahid Maqsood (zahidbutt_at_hotmail.com)
Date: 02/14/05


Date: Mon, 14 Feb 2005 14:52:26 +0500

thanx Eric,

i know it does not exist at run time and i have tried to include it in my
project and refering it directly by its file name. but i think i m missing
some parameters to use it exactly. like my code is as follows

SELECT val(cntr_no) as zone, cmonth(cp_date)+' ' as month, sum(NET_AMT) as
net_amt;
 FROM cpr;
 GROUP BY 1, 2 ;
 where inlist(PAID,'P','T','C') ;
 and betwe(cp_date,sdate,edate) ;
 ORDER BY 1, 2;
 INTO table sys(2015)
 DO (_GENXTAB) with 'cprsmry' <<<<---------------- this is the line
which i want to change

so what shud b the syntax in above line to use the file name directly rather
to use system variable. thanks in advance. please keep in mind that i m
doing this all in foxpro for dos 2.6 on windows 2000.
i have also gone thru the genxtab.prg and it shows that i will have to pass
parameters more than one. but i still i cudnt get my result. definitly i m
missing something in syntax.

"Eric den Doop" <ericdendoop@xspamblockxfoxite.com> wrote in message
news:#LIE$yfDFHA.2180@TK2MSFTNGP10.phx.gbl...
> afaik, the _genxtab variable does not exist at runtime. You have to
include
> the file in your project and refer to it directly thru the file name.
> --
> Eric den Doop
> www.foxite.com - The Home Of The Visual FoxPro Experts - Powered By VFP8
>
> "Zahid Maqsood" <zahid***@hotmail.com> wrote in message
> news:ee0hGkeDFHA.3120@TK2MSFTNGP12.phx.gbl...
> >
> >
> > --
> > _________________________________________
> > Zahid Maqsood
> > zahid***@onlinestiching.com
> > zahid***@hotmail.com
> > zahid***@yahoo.com
> > itmanager@crescentsugar.com
> >
> >
> >
>
>