NetTalk Central

Author Topic: Partial Save - Success or Fail?  (Read 1997 times)

JohanR

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • Email
Partial Save - Success or Fail?
« on: May 26, 2024, 12:18:49 PM »
Hi,

How would I know if the partial save was a success or failed?

thanks

Johan



rjolda

  • Sr. Member
  • ****
  • Posts: 315
    • View Profile
    • Email
Re: Partial Save - Success or Fail?
« Reply #1 on: May 26, 2024, 04:44:43 PM »
HI Johan,
See my reply to your previous post on partial Save.  I would guess that the Form template is doing an Insert when "Partial Save" is requested.  At that point, the Server Values are written to the record and a GUID for this new record is generated.  The Server would then "read the record that was just Inserted" and put the fields into Server Values.  There, you should find the GUID of the inserted Record and you could manually test it.  I don't know about the actual code but it might return a message that the INSERT failed? 
I would look at the code and see what Bruce is doing at the time of INSERT and how it handles any errors.
Ron