Jump to main content

# Arrays for Placeable Bitmaps

Although placeable bitmap fields can contain arrays, there will seldom be any reason to insert an array of placeable bitmaps into a single form. You could, of course, put a photo of each applicant on a loan or each insured vehicle on an insurance form and store them in a placeable bitmap array. However, these uses are not particularly common. You might, however, have the occasion to reference one bitmap from an array.

A company, for example, might have several divisions, each of which has its own logo. Instead of placing the images directly on the form, the program might load the bitmaps into an array when the application is loaded. To place the correct bitmap in a given form, you simply reference the element that contains the bitmap for that division.

To reference a specific element in an array

1. Create your placeable bitmap field and position it on your form.

2. Select the bitmap field and display the Field properties.

3. Enter the data ID and description for the field.

4. Click on the Data ID label to expose the Data Dimension property.

5. Click the in the Data Dimension value field once to enter a 1 and the Data Index 1 field will appear:

6. Enter the index for the element in the array that you want to place in the field:

Note:

The above example can be used to reference specific values in any type of data field array, not just placeable bitmaps. You can do the same thing with an inline field, signature field, circle field, barcode field, or standard data field.