Our Knowledge Base covers a wide variety of technical topics, from the basic to the complex.
How do I embed a picture from a file attachment lookup field in my Exact Form?
If the key field for your master table that contains the actual file attachment field is the built-in Record ID# field then you can put the following on your Exact Form:
~="<img src='/up/dbidofmastertable/a/r" + fid["11"] + "/e17'>"~
you'll need to replace "dbidofmastertable" with the dbid of the table that contains the pictures. To learn how to discover dbids please read:
You'll also need to replace the 11 with the field identifier (fid) of the reference field that points to the master table containing the file attachment field. To learn how to discover fids please read:
You'll also need to replace the 17 with the field identifier (fid) of the file attachment field in the master table.
If the key field of the master table containing the file attachment field is not the built-in Record ID# field then you'll need to create a lookup field that looks up the value of the built-in Record ID# field. Then you'll need to use the fid of that lookup field to replace the eleven in the example above.
Browse by Category
Knowledge Base Categories
- Accounts (35)
- Application (46)
- E-Mail (7)
- Fields (42)
- Forms (20)
- Formulas (18)
- General (69)
- Other Product (7)
- Pages (1)
- Product (5)
- Reports (15)
- Roles (4)
- Search (1)
- Tables (6)