Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using a Cursor
Message
From
14/07/1999 15:54:36
 
 
To
14/07/1999 15:18:55
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00241452
Message ID:
00241478
Views:
14
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform