Forum Discussion
MarkShnier__You
Qrew Legend
3 months agoThis code was probably created by the famous Kirk Trachy, a sales engineer at Quickbase who is now retired.
Did you make the code page exactly the way I posted it?
Did you make the URL field exactly like this?
Create the URL field type for the form. Type = URL . Set as iframe. Set 800 by 800 size.
If([Attachment Type 1]="File",
URLRoot()&"db/"&AppID()&"?a=dbpage&pagename=iframe.html&rid="&[Record ID#]
&"&tabledbid="&Dbid()
&"&myurlroot="&URLRoot()
&"&fileattachmentfid=9")
The only thing you should change in the above code would be to change the 9 to the field ID in your Table, which holds the file attachment