NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: astahl on January 13, 2017, 09:19:24 AM

Title: Save Form after priming fields
Post by: astahl on January 13, 2017, 09:19:24 AM
Hi All,

I have a parent form that is primed with required fields and would like to save it when entering the form.

From the parent form a button calls the child form and the user fills the child form and returns back to the parent.

I read on this forum that there is a setting on the form that allows one to do this but cannot find it.


Ashley
Title: Re: Save Form after priming fields
Post by: astahl on January 14, 2017, 06:38:27 AM
Hi All,

I found the solution using this in the embed "PreInsert" after the fields were primed.

Access:FileName.UseFile()
IF NOT Access:FileName.Insert() THEN
  ans = net:ChangeRecord
END

Ashley