<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yiv6061890430"><div id="yui_3_16_0_ym19_1_1543436227015_28660"><div style="color:#000;background-color:#fff;font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;" id="yui_3_16_0_ym19_1_1543436227015_28659"><div id="yiv6061890430yui_3_16_0_ym19_1_1543436227015_19158"><span>Hi Richard,</span></div><div id="yiv6061890430yui_3_16_0_ym19_1_1543436227015_19159"><span><br clear="none"></span></div><div id="yiv6061890430yui_3_16_0_ym19_1_1543436227015_19160"><span id="yui_3_16_0_ym19_1_1543436227015_28661">Just a quick thought...</span></div><div id="yiv6061890430yui_3_16_0_ym19_1_1543436227015_19161"><span><br clear="none"></span></div><div dir="ltr" id="yiv6061890430yui_3_16_0_ym19_1_1543436227015_19131"><span id="yiv6061890430yui_3_16_0_ym19_1_1543436227015_19130">I assume you are setting the name variable after each break.  If so, have you tried to clear the variable before resetting it?</span></div><div dir="ltr" id="yiv6061890430yui_3_16_0_ym19_1_1543436227015_19129"><span><br clear="none"></span></div><div dir="ltr" id="yiv6061890430yui_3_16_0_ym19_1_1543436227015_19128"><span id="yiv6061890430yui_3_16_0_ym19_1_1543436227015_19127">Hope it helps,</span></div><div dir="ltr" id="yiv6061890430yui_3_16_0_ym19_1_1543436227015_19126"><span id="yiv6061890430yui_3_16_0_ym19_1_1543436227015_19125">Rick Hane</span></div><div dir="ltr" id="yiv6061890430yui_3_16_0_ym19_1_1543436227015_19162"><span><br clear="none"></span></div><div id="yiv6061890430yui_3_16_0_ym19_1_1543436227015_19124"><span><br clear="none"></span></div> <div class="yiv6061890430qtdSeparateBR"><br clear="none"><br clear="none"></div><div class="yiv6061890430yqt8199980995" id="yiv6061890430yqt18932"></div></div></div></div><div class=".yiv6061890430yahoo_quoted"> <div style="font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;"> <div dir="ltr"><font size="2" face="Arial"> On Wednesday, November 28, 2018 2:10 PM, Richard Kreiss via Filepro-list <filepro-list@lists.celestial.com> wrote:<br clear="none"></font></div>  <br clear="none"><br clear="none"> <div class="yiv6061890430y_msg_container"><div dir="ltr">I originally was but changed it to a dummy field.  <br clear="none"><br clear="none">The problem is the mane in not changing when the code for the break changes.<br clear="none">All on the name belong to the proper person but the name in the header is<br clear="none">still incorrect.  It remains one name behind in the run of about 200<br clear="none">individuals with different code.  There is a code field in the record plus a<br clear="none">full name field.<br clear="none"><br clear="none">I know when the break occurs the output is sitting on the last record of the<br clear="none">grouping for that break.  That is why the name in the heading is that of the<br clear="none">associated record.  I am going to try a getnext after the pafe command to<br clear="none">see if that corrects the problem.<br clear="none"><br clear="none">Richard<br clear="none"><br clear="none">> -----Original Message-----<br clear="none">> From: Filepro-list [mailto:filepro-list-<br clear="none">> bounces+rkreiss=<a rel="nofollow" shape="rect" ymailto="mailto:verizon.net@lists.celestial.com" target="_blank" href="mailto:verizon.net@lists.celestial.com">verizon.net@lists.celestial.com</a>] On Behalf Of Richard D.<br clear="none">> Williams via Filepro-list<br clear="none">> Sent: Wednesday, November 28, 2018 1:08 PM<br clear="none">> To: <a rel="nofollow" shape="rect" ymailto="mailto:filepro-list@lists.celestial.com" target="_blank" href="mailto:filepro-list@lists.celestial.com">filepro-list@lists.celestial.com</a><br clear="none">> Subject: Re: Header problem<br clear="none">> <br clear="none">> Richard,<br clear="none">> <br clear="none">> Are you using a real field for the Person's Name in the header?<br clear="none">> <br clear="none">> Richard D. Williams<br clear="none">> <br clear="none">> On 11/28/2018 10:40 AM, Richard Kreiss via Filepro-list wrote:<br clear="none">> > I have an output which creates a text file.<br clear="none">> ><br clear="none">> > In the header portion the birthday month and the primary name associated<br clear="none">> with the individuals whose birthday it is.  The issue I am having is<br clear="none">getting the<br clear="none">> name appearing in the header to be correct.  This only happens on the<br clear="none">first page.<br clear="none">> ><br clear="none">> > When to the first break occurs on the primary person's code, the program<br clear="none">> forces a page to happen and the page number is reset to one.  This happens<br clear="none">but<br clear="none">> the name appearing in the header belongs to the previous person.<br clear="none">> ><br clear="none">> > As an example if the list was for Carl Smythe, then the name appearing<br clear="none">the<br clear="none">> name appearing in the header would be for the person whose list was just<br clear="none">be for<br clear="none">> his list.  The only time the proper name appears is for the first person.<br clear="none">After that<br clear="none">> each new page is one person behind.<br clear="none">> ><br clear="none">> > How do I get the proper name to appear in the header of the new page?<br clear="none">> ><br clear="none">> ><br clear="none">> > Richard Kreiss<br clear="none">> > GCC Consulting<br clear="none">> ><br clear="none">> ><br clear="none">> > -------------- next part -------------- A non-text attachment was<br clear="none">> > scrubbed...<br clear="none">> > Name: winmail.dat<br clear="none">> > Type: application/ms-tnef<br clear="none">> > Size: 15207 bytes<br clear="none">> > Desc: not available<br clear="none">> > URL:<br clear="none">> > <<a rel="nofollow" shape="rect" target="_blank" href="http://mailman.celestial.com/pipermail/filepro-list/attachments/20181">http://mailman.celestial.com/pipermail/filepro-list/attachments/20181</a><br clear="none">> > 128/f67306f3/attachment.bin><br clear="none">> > _______________________________________________<br clear="none">> > Filepro-list mailing list<br clear="none">> > <a rel="nofollow" shape="rect" ymailto="mailto:Filepro-list@lists.celestial.com" target="_blank" href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a><br clear="none">> > Subscribe/Unsubscribe/Subscription Changes<br clear="none">> > <a rel="nofollow" shape="rect" target="_blank" href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a><br clear="none">> ><br clear="none">> <br clear="none">> <br clear="none">> ---<br clear="none">> This email has been checked for viruses by AVG.<br clear="none">> <a rel="nofollow" shape="rect" target="_blank" href="https://www.avg.com/">https://www.avg.com</a><div class="yiv6061890430yqt9189392907" id="yiv6061890430yqtfd75298"><br clear="none">> <br clear="none">> _______________________________________________<br clear="none">> Filepro-list mailing list<br clear="none">> <a rel="nofollow" shape="rect" ymailto="mailto:Filepro-list@lists.celestial.com" target="_blank" href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a><br clear="none">> Subscribe/Unsubscribe/Subscription Changes<br clear="none">> <a rel="nofollow" shape="rect" target="_blank" href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a><br clear="none"><br clear="none">_______________________________________________<br clear="none">Filepro-list mailing list<br clear="none"><a rel="nofollow" shape="rect" ymailto="mailto:Filepro-list@lists.celestial.com" target="_blank" href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a><br clear="none">Subscribe/Unsubscribe/Subscription Changes<br clear="none"><a rel="nofollow" shape="rect" target="_blank" href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a><br clear="none"></div></div><br clear="none"><br clear="none"></div>  </div> </div>  </div></div></body></html>