Thanks guys - I knew there should be a better way! - Done
On Wed, Jan 22, 2014 at 2:52 PM, Mike Copeland <[email protected]> wrote: > It's just my opinion, but I would > a) move the processing from the INIT event (where I assume it is now) to a > new method...name the new method whatever you want and then call it from > the INIT event > b) provide a call to that new method from the REFRESH button. > > Mike Copeland > > > -------- Original Message -------- > Subject: One form refresh > From: Joe Yoder <[email protected]> > To: [email protected] > Date: 1/22/2014 1:31 PM > >> I have a single form project that validates information exported from >> another application. When my code loads, the exported file is read, >> analysed, and its status is displayed. When there are problems, the user >> will go back to the source application and make corrections and then do >> another export. >> >> I would like to have a 'Refresh" button on the form to trigger processing >> of the new file. The data analysis happen as the form is initialized and >> the results are store in properties of the form. One approach might be to >> setup a global variable "Done", initialize it to false, and then setup a >> loop to call the form until "Done" is true. The 'Exit" button would set >> "Done" to true and close the form while the "Refresh" button would simply >> close the form. >> >> Is this a good approach or is there a better way? >> >> Thanks in advance for any help, >> >> Joe >> >> >> --- StripMime Report -- processed MIME parts --- >> multipart/alternative >> text/plain (text body -- kept) >> text/html >> --- >> [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/CABQeDnWGn-JG0zq2figcNQP=q+mtb8hgvzanhwpkzmpycnc...@mail.gmail.com ** 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.

