Dear All,

I have a label form in runtime it is ok, but after compiled the program, the
report form label only print out a plain print out, have anyone know what is
the problem?

thanks in advance

ah wa

Re: report no print out by Tracy

Tracy
Fri Dec 02 11:31:28 CST 2005

Is your table that is referenced in the label selected directly before you
issue the label form command? Can you post your label form command line and
an example of the properties of any of the fields on the label?



Re: report no print out by agogo

agogo
Fri Dec 02 18:56:47 CST 2005

Dear Tracy,
my label as belows, please help!!!!

sele fabric
Calculate Max(fab_count) to labelstop
go top
Set filter to fab_count >= labelstart+1 and fab_count <= labelstop
label form fabric1 noconsole to printer
SET FILTER TO
Else
MessageBox("No records found!!!",16, "System Alert")
ENDIF
Clear Memory

Thisform.Release( )



Thanks in advance

ah wa


"Tracy" <anonymous@discussions.microsoft.com> ¼¶¼g©ó¶l¥ó·s»D:uPEeDZ29FHA.500@TK2MSFTNGP15.phx.gbl...
> Is your table that is referenced in the label selected directly before you
> issue the label form command? Can you post your label form command line
> and an example of the properties of any of the fields on the label?
>



Re: report no print out by swdev2

swdev2
Sun Dec 04 04:03:35 CST 2005

Yo Yo Yo AgoGo -
is labelstart the name of a column/field?
is labelstart the name of a variable?
either way - i don't see it declared/check/initialized/used prior to the
line that adds 1 to it and does a check against fab_count in the filter.

where are you setting labelstart?
regards / xie xie [Bill]
--
===================
William Sanders / EFG VFP / mySql / MS-SQL
www.efgroup.net/vfpwebhosting
www.terrafox.net www.viasqlserver.net

"agogo" <cpcpwy@ahwa.net> wrote in message
news:#OwCvR69FHA.3804@TK2MSFTNGP14.phx.gbl...
> Dear Tracy,
> my label as belows, please help!!!!
>
> sele fabric
> Calculate Max(fab_count) to labelstop
> go top
> Set filter to fab_count >= labelstart+1 and fab_count <= labelstop
> label form fabric1 noconsole to printer
> SET FILTER TO
> Else
> MessageBox("No records found!!!",16, "System Alert")
> ENDIF
> Clear Memory
>
> Thisform.Release( )
>
>
>
> Thanks in advance
>
> ah wa
>
>
> "Tracy" <anonymous@discussions.microsoft.com>
¼¶¼g©ó¶l¥ó·s»D:uPEeDZ29FHA.500@TK2MSFTNGP15.phx.gbl...
> > Is your table that is referenced in the label selected directly before
you
> > issue the label form command? Can you post your label form command line
> > and an example of the properties of any of the fields on the label?
> >
>
>



Re: report no print out by Dan

Dan
Mon Dec 05 11:33:55 CST 2005

I'm guessing that CALCULATE is leaving you at EOF(), and SET FILTER will not
move the record pointer (nor will it take effect until YOU move the record
pointer).

I'd take out the filter entirely and use the filter expression as a FOR
clause on your label command.

Dan

agogo wrote:
> Dear Tracy,
> my label as belows, please help!!!!
>
> sele fabric
> Calculate Max(fab_count) to labelstop
> go top
> Set filter to fab_count >= labelstart+1 and fab_count <= labelstop
> label form fabric1 noconsole to printer
> SET FILTER TO
> Else
> MessageBox("No records found!!!",16, "System Alert")
> ENDIF
> Clear Memory
>
> Thisform.Release( )
>
>
>
> Thanks in advance
>
> ah wa
>
>
> "Tracy" <anonymous@discussions.microsoft.com>
> ¼¶¼g©ó¶l¥ó·s»D:uPEeDZ29FHA.500@TK2MSFTNGP15.phx.gbl...
>> Is your table that is referenced in the label selected directly
>> before you issue the label form command? Can you post your label
>> form command line and an example of the properties of any of the
>> fields on the label?