>Of course that would be simple, but how to print one record
>several times as given before on label sheets with 24 labels on I donn't know.
>i need this very urgent.
>if you know the answer please tell me so, and if possible include a sample code for it.
>I only just started to learn about foxpro.
>
>Sincerly,
>
>Virgin
As Christopher sugested you, you can create a temporary file
but instead create a CURSOR, that way you don't need to
worry about deleting it after you finish your report,
is going to look like this :
CREATE CURSOR my_cursor( field1,field2,etc...) ;
and then make a loop with a FOR/ENDFOR or other
method to append as many records as you need
Like :
FOR counter=1 TO amount_needed
INSERT FROM MEMVAR TO CURSOR my_cursor
(also instead of insert you can use append blank and
gather memvar or replace whatever you prefer)
ENDFOR
after that you just do your report command.
make sure that the report doesn'n need the ALIAS of the
original database in any field.
Look under "CREATE CURSOR" in the Foxpro Help
If you need additional help you can
E-mail me at luisg@netrunner.net
GOOD LUCK.!
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould