Bad Steve... <g> The FOR...NEXT loop in VFP automagically increments the counter var each time through the loop with the default increment being one.
Mike, did you ever actually print the labels? Sometimes I've found the preview to be a bit wonky with labels. If you're just using ticket as an arbitrary counter, you could just append the number of rows you want into your cursor and use RECNO() on the labels. Old school thinking, I know but why bother with the REPLACE at all? rk -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Stephen Russell Sent: Friday, August 27, 2010 9:16 AM To: [email protected] Subject: Re: VFP9 9.0 - Label files On Fri, Aug 27, 2010 at 8:12 AM, Michael Savage <[email protected]> wrote: > Here is a snippet of test code to print some tickets. > CREATE CURSOR tickets(ticket i(4)) > SELECT tickets > counter=1 > FOR m.i=1 TO 500 > APPEND BLANK > replace ticket WITH m.i m.i = m.i +1 _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/df1eef11e586a64fb54a97f22a8bd0441900311...@ackbwddqh1.artfact.local ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

