Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using a Cursor
Message
De
14/07/1999 15:18:55
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Using a Cursor
Divers
Thread ID:
00241452
Message ID:
00241452
Vues:
66
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.
Thanks in Advance.

J. Turner
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform