Skip to main content
Question

Generating QR Code with URL to record

  • October 13, 2022
  • 0 replies
  • 450 views

Forum|alt.badge.img+8
I am trying to generate a QR code that will open a record in Quickbase.  I have a Formula URL field that generates the URL:

URLRoot() & "db/" & [_DBID_ASSETS] & "?a=dr&key=" & URLEncode([Cart ID#])

I have a Formula Rich Text field that generates the QR Code:

"<img src=\"http://chart.apis.google.com/chart?cht=qr&chs=100x100&chl="&[Record URL]
& "\"\"/>"

When I scan the QR Code it is dropping off the &key= part of the URL.  Is there something wrong with my Rich Text Formula?
The URL field works perfectly!

------------------------------
Julie Meeker
------------------------------
This topic has been closed for replies.

MarkShnierYou
Forum|alt.badge.img+24
I'm using this syntax

var text URL = URLRoot() & "db/" & [_DBID_ASSETS] & "?a=dr&key=" & URLEncode([Cart ID#]);

"<img src='http://chart.googleapis.com/chart?cht=qr&chs=240x240&chl="
& URLEncode($URL)& "'>"

------------------------------
Mark Shnier (Your Quickbase Coach)
mark.shnier@gmail.com
------------------------------