Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Label not printing properly
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01478835
Message ID:
01478846
Views:
29
>>What's wrong with this code?
>>
>>CREATE CURSOR tickets(ticket i(4))
>>SELECT tickets
>>FOR m.i=1 TO 500
>>	APPEND BLANK
>>	replace ticket WITH m.i
>>ENDFOR
>>SELECT tickets
>>GO top
>>LABEL FORM ticketlbl PREVIEW 
>>
>>The label has an image on it, and one field, Ticket. When the line, label form ticketlbl preview, executes, it errors with variable ticket not found???
>>
>>The table tickets in a browse, has 500 records with a field ticket which has values from 1 to 500.
>>
>>TIA,
>>Mike
>
>Are you running this label from a form with a grid? If so, move the focus out of the grid before printing.


No, I have created a test program and am running it from inside there... ie the code you see is all there is.
Mike
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform