NetTalk Central

Author Topic: NetWebForm - How to load related memory file only once  (Read 4195 times)

CaseyR

  • Sr. Member
  • ****
  • Posts: 448
    • View Profile
    • Email
NetWebForm - How to load related memory file only once
« 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


 

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NetWebForm - How to load related memory file only once
« Reply #1 on: August 30, 2007, 10:28:20 PM »
PreUpdate routine would be my guess.

Cheers
Bruce