NetTalk Central

Author Topic: Combining TakePic Action and Record Saving in a Single Button  (Read 379 times)

jari@softmade.fi

  • Full Member
  • ***
  • Posts: 131
    • View Profile
    • Email
Combining TakePic Action and Record Saving in a Single Button
« 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.

rjolda

  • Sr. Member
  • ****
  • Posts: 321
    • View Profile
    • Email
Re: Combining TakePic Action and Record Saving in a Single Button
« Reply #1 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