Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using a Cursor
Message
De
14/07/1999 15:54:36
 
 
À
14/07/1999 15:18:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
00241452
Message ID:
00241478
Vues:
15
>I am using a cursor for my label layout. Everytime I click on my print button (commands below), it gives me an error message like it's not finding the index I THINK I KNOW I have created...see below..
>
>IF MESSAGEBOX ("Are you printing on a NEW label sheet?" , 4 + 32 + 0, "Generate CDC Id Label" ) = 6
> ** if they say yes, this is a new sheet
> SELE CDCID
> INDEX ON CDCID TAG CDCID ADDITIVE
> SET ORDER TO CDCID
>ELSE
> ** if they say no, then they are resuming print on an old sheet
> SELE CDCID
> FOR i=1 TO RECCOUNT('CDCID')
> APPEND BLANK
> ENDFOR
> INDEX ON CDCID TAG CDCID ADDITIVE
> SET ORDER TO CDCID
>ENDIF
>
>SET STEP ON
>
>RN = RECNO()
>LABEL FORM CDCIDLBL RECORD RN PREV
>LABEL FORM CDCIDLBL RECORD RN NOCONSOLE TO PRINT
>
>Thanks to any and all who can assist
>
>Jeff T.

You need to SET ORDER TO TAG CDCID
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform