Forum Discussion
Thanks Mark. Unfortunately, the native solution is only for text. There are some resources to get an image, but the last 4 hours of trying for me have failed. I think the Juiced solution will also utilize text only, but I'll look into it! Thanks. Otherwise, I maybe have to go to a QR code site, import my URLS and use their native software to download everything as image files? Perhaps?
Im still researching. Hopefully someone in the community has already figured this out!
------------------------------
Mike Tamoush
------------------------------
I can think of at least one way to do this in native Quickbase, but it's extremely inconvenient. Also on mobile right now, so I can't type out all of the formulas.
In whatever table houses the QR codes, you can create another rich text formula field that just encompass the existing QR code field in a <td> tag. We can call this [QR Container].
Then you can have a formula query field that uses size() and getrecords() to find the number of QR code records with a record ID# less or equal to that record. So Record ID# 1 will return 1, Record ID# 2 will return 2, etc. I'll call this [Lower RIDs].
Then you have another formula query field. Let's say you want the printed copy to have 4 QR codes per row. If the [Lower RIDs] value is divisible by 4, it uses getfieldvalues() and getrecords() to collect the [QR Container] values of all records where [Lower RIDs] is greater than or equal to that record's [Lower RIDs] value minus three, but lower than or equal to that record's [Lower RIDs] number. So RIDs 1-3 would return blank values (not divisible by 4), and RID 4 would return a list of the [QR Container] fields for RIDs 1 through 4. You can use searchandreplace() on this value to replace " ; " with "", which will give you an HTML string. You can then encompass this string in a <tr> tag. We can call this field
- MikeTamoush2 years agoQrew Commander
Your post and Marks post finally sparked a solution in my mind. I have Juiced EFP. In juiced EFP I can produce a child table shown on my output pdf. I can just utilize that, and make a parent to all my records in a dummy table or any other way. In fact, I need to look closer at Marks link, that is probably how their mail merge button push works.
------------------------------
Mike Tamoush
------------------------------- KeithJusas2 years agoQrew Captain
Mike,
Exact Forms Plus can generate QR Codes using a function in the template itself
click link below to a record in our demo app: https://juicedtech.quickbase.com/db/bknf8jnve?a=dr&r=g&rl=zcf
Scroll right to the Labels tab and click the Create Task Labels button.
some of the parameters in the formula code of the button
clientid=Q999"
& "&appid=" & AppID()
& "&tpdbid=" & [_DBID_DOCUMENT_TEMPLATES]
& "&tpid=41"
& "&fn=Lbl"
& "&msdb=" & [_DBID_TASKS]
& "&docfmt=pdf&stream=y"
& "&mrgdbid=" &Dbid()
& "&mrgrid=" & [Record ID#]
& "&mrgfn=lbls"
& "&mrgfa=345"
& "&msqry={'48'.EX." &[Record ID#] & "}");Attached is the document template and the labels pdf
The field in the task table, field id 149, is a formula URL field with the following value so when the QR Code is scanned it will display the Task record
URLRoot()&"db/"&Dbid()&"?a=dr&rid="&[Task ID]More info on Barcodes for EF+
http://qbtools.helpdocsonline.com/exactformsplus-barcodes
------------------------------
Keith Jusas
------------------------------- MikeTamoush2 years agoQrew Commander
Thanks Keith! I'll take a look. This could likely work, though I know we were trying to get our logo in the middle, which I have created but would need to use my custom link in order to print that, which is my my head went towards using EFP utilizing the embedded report feature. EFP has so many features, it's hard for me to keep up! :)
------------------------------
Mike Tamoush
------------------------------