NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: CaseyR on August 30, 2007, 06:17:49 PM

Title: NetWebForm - How to load related memory file only once
Post by: CaseyR on August 30, 2007, 06:17:49 PM
Hi,

The form I use to update or view an existing record runs a procedure to load the child records associated with the primary record into a memory file for browsing on one of the tabs. If in update mode, the user can add or delete records in the memory file and then when he clicks Save for the primary form the memory records replace the records on disk if validation has been successful.

The problem is where to call the procedure to load the child records into the memory file.  It must be done after the the primary record has been loaded into the session queue, but only once in the 'editing' session.   I have tried a few embed points, but can't find one that meets both criteria.

If any one has a suggetion, it would be greatly appreciated.

Many thanks


 
Title: Re: NetWebForm - How to load related memory file only once
Post by: Bruce on August 30, 2007, 10:28:20 PM
PreUpdate routine would be my guess.

Cheers
Bruce