New record trigger
Richard Kreiss
rkreiss at verizon.net
Fri Mar 20 07:28:14 PDT 2015
> -----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
More information about the Filepro-list
mailing list