Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print blank labels on first page
Message
De
08/03/2005 16:09:40
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00993509
Message ID:
00993815
Vues:
27
>Hi Hilmar
>I put a spinner on the form and added a routine to create blank records to compensate for missing labels on the first sheet. It created one blank record OK, but when I closed the form the blank record was still there. In the DE cursor properties the BufferMode Override=1. Any Ideas why it doesn't release the Cursor?
>
>Another problem arose. I forgot that there is a Candidate Index on the record ID of the table used for the labels. As soon as I add a second record it gives me a "Uniquemess" error. It looks like I'd have to build a temporary Cursor with only the fields needed for the labels. Unfortunately that would cause problems with a Filtering form used thru-out this system.
>What are your thoughts?
>Bill

My idea was to create the blank records in a cursor, without any indices - just for the report.

For example, if the user says he needs 5 empty records, create a cursor that starts with 5 empty records, followed by the "valid" data.
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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform