>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