NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: jari@softmade.fi on October 13, 2024, 03:28:24 AM

Title: Combining TakePic Action and Record Saving in a Single Button
Post by: jari@softmade.fi on October 13, 2024, 03:28:24 AM
I have a button with the action set to TakePic. How can I save a record with the same button as well? It feels unnecessary to press two buttons.
Title: Re: Combining TakePic Action and Record Saving in a Single Button
Post by: rjolda on October 14, 2024, 12:01:31 PM
Hi,
Sounds like you want to combine TakePic and Save REcord together - OR TakePic and UpdateRecord Together.  I guess if you trust the person taking the picture to have it correct without seeing the display it might make sense.  In standard Clarion I would attempt adding a postevent:Accepted  to ?OK.  I am not sure if there is a trick that Bruce or someone can suggest that would do this.  Also depends on the form that the picture is on.  It will want to validate all fields before saving.  Maybe some Javascript?
Ron