<html><head></head><body>Nope. The first time you run input after SAVE, the record's not written yet.<br><br><div class="gmail_quote">On March 20, 2015 10:28:14 AM EDT, Richard Kreiss <rkreiss@verizon.net> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail"><br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> -----Original Message-----<br /> From: Kenneth Brody [mailto:kenbrody@spamcop.net]<br /> Sent: Thursday, March 19, 2015 4:56 PM<br /> To: Richard Kreiss<br /> Cc: 'FilePro Mailing List'<br /> Subject: Re: New record trigger<br /> <br /> On 3/19/2015 4:41 PM, Richard Kreiss wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"><br /></blockquote> [...]<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> As I recall, once a record is saved, @cd should equal @td and not be empty.<br /></blockquote> <br /> You recall partially incorrectly.<br /> <br /> Yes, once the record is "saved", @cd will be filled in. But, when creating a new<br /> record input processing is done before the recor
d is
actually "saved".<br /> Therefore, @CD is still blank.<br /> <br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> The record is saved and any additional processing happens until it<br /> hits and end form the top down.<br /><br /> Try this after the record is saved.<br /> :@cd = @td;msgbox"Student ID A"<41<br /></blockquote> <br /> That will not execute for a new record.<br /> <br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> In my input processing tables, the end routine is always at the top as<br /> this is where the processing goes. In some tables, I test if a<br /> sub-routine "finish" has run, then the record is saved again and the<br /> processing continues from the top down.<br /></blockquote></blockquote><br />Ken,<br /><br />I was referring to when the user (Windows) presses F10 or reaches a "SAVE" in processing. <b
r /><br
/>Is not the record written at that point and the processing moved to the top of the table?<br /><br />Richard<br /><br /><br /><br /><hr /><br />Filepro-list mailing list<br />Filepro-list@lists.celestial.com<br />Subscribe/Unsubscribe/Subscription Changes<br /><a href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a><br /></pre></blockquote></div><br>
-- <br>
Sent from my Android phone with K-9 Mail. Please excuse my brevity.</body></html>