New record trigger
Kenneth Brody
kenbrody at spamcop.net
Thu Mar 19 13:55:38 PDT 2015
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.
--
Kenneth Brody
More information about the Filepro-list
mailing list