|
Hi, I think your problem is becoz you are not resetting the RRN variable that you have specified in SFLRCDNBR key word. That is in the display file A NREC 3S 0H SFLRCDNBR Here NREC tells the display file on every EXFMT where to position The subfile Suppose you set this once and later did not clear ......I think during every EXFMT it finds this value and sets your page to this specified RRN May be you can make NREC = 0 before every instance of EXFMT where you don't intend to re-position the subfile.You can use the same if loop Where you check if your control field (position to) field is blank- to make NREC = 0. In fact I have not tried out how subfile will perceive NREC =0 .If it simply Ignores it because such an RRN does not exist, then the problem is solved. If it throws an error or positions it to RRN = 1 then we need to think of Other options. Regards, S.chand ------------------------------------------------------------------------ ------- >It is a small enough file to load-all-at-a-time. >If I understood your question right:- >After positioning once, I am moving Blank to the user-id field in control. >Also, there is logic that if the field is blank, it will not try to position. >Amitava >>>>>>>.. >date: Thu, 21 Jul 2005 16:51:52 -0500 (Central Standard Time) >from: "Booth Martin" <booth@xxxxxxxxxxxx> >subject: Re: Subfile Positioning Question >I am wondering what would happen if you blanked the User ID field after you >use it to do the positioning? Are you doing page-at-a-time, or load-all? >--------------------------------- >Booth Martin >-------------------------------------------------------- >This message (including any attachments) is only for the use of the person(s) >for whom it is intended. It may contain Mattel confidential, proprietary and/or >trade secret information. If you are not the intended recipient, you should not >copy, distribute or use this information for any purpose, and you should delete >this message and inform the sender immediately. DISCLAIMER: This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.