|
||||||||||
|
|
Making a form for data & photo collection: A step-by-step guide to importing photos
Pendragon Forms can import photos taken with most PDA cameras such as the Treo 650 or iPAQ 6xxx. These images will be attached to the record and synchronized to your database along with your form data.
What you need
How it works
Creating a form to Manually Select and Import Photos If you are not familiar with building and distributing a Pendragon Form, you may wish to review the Quick Start Guide for an overview.
On your form, you will need to include: • A Button field • A script in the Button field that attaches the new photo to an Image field in your form • An Image field to store photos. If you would like for the image to be displayed in the record after it has been imported, select the Inline option on the Field Tab in the Form Designer.
A simple script in the Button field renames a picture taken with your camera and stored in the specified file and attaches it to the database record. This script is for a form where Field 3 is the Button field and Field 4 is the Image field.
Sample Script:
CLICK: SELECTFILE 4 COPY
How the Script Works This script is in a Button field. Tapping the button brings up a file selection screen on the device. The user then browses the directory and selects a file to be imported. In this script, the photo will now be in Field 3, an Image field.
Other Topics Creating an Access report (for bitmap images only) Creating an Access Report with a Photo Control (for jpeg images) This page may take a moment to load.
For more information Pendragon Forms Reference Guide: Chapter 17 Working with Images Recommended! Using JPEG images with Pendragon Forms PDA cameras, pictures and Pendragon Forms
(To download PDF documents, right-click on the link above and choose Save Target As...)
© 2004 Pendragon Software Corporation. All rights reserved. Copyright and trademark information. |
|||||||||