Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Skip missing labels
Message
De
10/10/2007 08:00:00
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brésil
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01259909
Message ID:
01259951
Vues:
20
Hi Moises,

>I have a label sheet with 30 labels, 3 labels per row and 10 rows
>
>Suppose the next label to print is number 11 and not number 1
>
>How can I skip the first 10 labels ?
>
>I was tring to select into a cursor and fill first records
>with blanks records
>
>Could anybody help me doing it or another way to do it ?
>
>Thanks
>
>Moises

Suppose that your cursor has lblNumber field (integer type) with the label's number. So, index the cursor by lblNumber. How your first label is the number 11, your first recno in cursor is label 11.
Insert blanks recno into the cursor. Thus:
Local liMaxNewLabel as Integer
Local liForLabel as Integer

Goto Top In myCursor
m.liMaxNewLabel = myCursor.lblNumber - 1

For m.liForLabel = 1 to m.liMaxNewLabel
   Insert Into myCursor (lblNumber) Values (m.liForLabel)
EndFor 
Good luck!
Erick
Força Sempre!
Strength Always!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform