Knowledge Base

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:

http://quickbase.intuit.com/developer/node/2106

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:

http://quickbase.intuit.com/developer/node/2027

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.

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.

© 1997-2014 Intuit Inc. All Rights Reserved.

Online Database VeriSign Secured Web Based Software TRUSTe Certification Online Database SSAE Audit