Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print blank labels on first page
Message
From
07/03/2005 22:56:42
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00993509
Message ID:
00993521
Views:
18
>Hi Hilmar
>Thanks for your very fast response.
>You wrote:
>"After the report is run, the cursor is closed (usually, by closing the form that controls the report, if the form has a private DE). This will destroy the cursor. The original data, of course, is left untouched."
>
>To make this work I would have to close the form after a Label print job. I typically don't do that, but if the spinner is greater than zero, after printing is complete closing the form it wowuld make everything work. That is a good trade-off.
>Thank you for your help.
>Bill

You don't need to close your form. You can also close the cursor manually (with the USE command), without waiting for the form to close.

It is just that quite often, I find this step unnecessary, and don't issue any explicit command to close the cursor. The cursor is then either overwritten with the next SELECT statement (i.e., re-running the report, perhaps with different options), or be closed automatically when the form is closed.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform