× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Folks,

 

I get drug back into programming every now and then (I wear a ton of
different hats.) and normally do OK but I am having a brain fart or
something today and have exhausted every avenue I could think of.

 

I am developing a fairly simple set of programs to allow employees to submit
comments to management. They key in an entry and once they hit enter it
writes the record to the Comments PF and emails a contact in HR that there
has been a new entry.

 

Well it is this section of code for emailing that is causing me the problem.
There is a file that has HR contacts in it. Right now there is only one
entry in there, but the thought is, in the future there could be more. So I
do a DOWEQ OFF read on this file and send email until there is no more hits
in the file. Then the user gets a screen with their tracking # and the
chance to do another entry.

 

Well if you do this it adds the record to the Comments PF but does not send
the email because in the email routine the HR contacts file is still
positioned at the last record. How do I get it to reset ?

 

Thanks !

 

Chuck


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.