New record trigger

Jay Ashworth jra at baylink.com
Fri Mar 20 07:35:08 PDT 2015


Nope.  The first time you run input after SAVE, the record's not written yet.

On March 20, 2015 10:28:14 AM EDT, Richard Kreiss <rkreiss at verizon.net> wrote:
>
>
>> -----Original Message-----
>> From: Kenneth Brody [mailto:kenbrody at spamcop.net]
>> Sent: Thursday, March 19, 2015 4:56 PM
>> To: Richard Kreiss
>> Cc: 'FilePro Mailing List'
>> Subject: Re: New record trigger
>> 
>> On 3/19/2015 4:41 PM, Richard Kreiss wrote:
>> >
>> [...]
>> > As I recall, once a record is saved, @cd should equal @td and not
>be empty.
>> 
>> You recall partially incorrectly.
>> 
>> Yes, once the record is "saved", @cd will be filled in.  But, when
>creating a new
>> record input processing is done before the record is actually
>"saved".
>>   Therefore, @CD is still blank.
>> 
>> > The record is saved and any additional processing happens until it
>> > hits and end form the top down.
>> >
>> > Try this after the record is saved.
>> > :@cd = @td;msgbox"Student ID A"<41
>> 
>> That will not execute for a new record.
>> 
>> > In my input processing tables, the end routine is always at the top
>as
>> > this is where the processing goes.  In some tables, I test if a
>> > sub-routine "finish" has run, then the record is saved again and
>the
>> > processing continues from the top down.
>
>Ken,
>
>I was referring to when the user (Windows) presses F10 or reaches a
>"SAVE" in processing.  
>
>Is not the record written at that point and the processing moved to the
>top of the table?
>
>Richard
>
>
>
>_______________________________________________
>Filepro-list mailing list
>Filepro-list at lists.celestial.com
>Subscribe/Unsubscribe/Subscription Changes
>http://mailman.celestial.com/mailman/listinfo/filepro-list

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20150320/1db8a974/attachment.html>


More information about the Filepro-list mailing list