Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Forums] How do I save a photo from camera to the database.

$
0
0
Kilian Hekhuis wrote:
Thanks for the instructions, that makes things clearer. The instructions are not completely correct: first they mention a variable "PhotoVar" which is bound to the input box, but at the end they mention "PictureVar" for storing it when saving. I assume they mean "PhotoVar" there.

To store this data in the database, you need a table with two attributes: an Id and one of type Binary Data. You assign the PhotoVar to the binary data atrribute, and save it.
 
 Don't forget to convert the text to binary before assigning it otherwise you won't be able to proceed 

Viewing all articles
Browse latest Browse all 1476385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>