At 06:10 AM 9/14/2016, Daniele wrote:
I would like to create a button on a form that activates a scanner and store the scanned image in a data-base table. How can I do this?
There are two different approaches to accomplish such task. Here's how ... 01. While running the form in Edit or Enter mode, double-click on the "DB Image" control associated with VARBIT column to bring up the BLOB Editor with an option to select the source and then acquire the image. (See attached) 02. To totally automate the process, while in Form Designer, assign a Component ID to DB Image associated with the column, for example, "EmployeeImage". Then, place a button (Bit Button, Speed Button, or Enhanced Speed Button) and use the following code for "On Click EEP" as follows: -- Capture Data -- On Click EEP PROPERTY EmployeeImage CaptureFromVideo 'TRUE' RETURN That will bring up the screen to manage input. You can also use the following EEP to interactively select the source to manage your application. -- Capture Data -- On Click EEP PROPERTY EmployeeImage SHOW_EDITOR 'TRUE' RETURN That will bring up the same R:BASE BLOB Editor with all options, including the option to select source. That's all there is to it! Very Best R:egards, Razzak. -- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

