NirajShah4
5 years agoQrew Cadet
Making a simple mistake on rich text URL
I seem to be making a somewhat simple mistake on a rich text field that I can't seem to get figure out. The field generates a QR code which, when scanned, adds a record to another table and populates some fields in that table.
My code is below:
"<img src=\"http://chart.apis.google.com/chart?chs=200x200&cht=qr&chld=|0&chl=" & URLEncode(URLRoot() & "db/" & [_DBID_INVENTORY_PRODUCTS] & "?a=API_GenAddRecordForm&_fid_8=" & [Order - Expected Inventory Record ID#]) &
"&_fid_12=" &URLEncode([Product Name])
& "\" alt=\"Scan to add a ticket\" title=\"Scan to add a ticket\"/>"
The code above works fine from a syntax perspective and even populates FiD 8 has intended, however, it's not populating FiD 12. Both FiD 12 and [Product Name] are the same field types of Text fields.
------------------------------
Niraj Shah
------------------------------
My code is below:
"<img src=\"http://chart.apis.google.com/chart?chs=200x200&cht=qr&chld=|0&chl=" & URLEncode(URLRoot() & "db/" & [_DBID_INVENTORY_PRODUCTS] & "?a=API_GenAddRecordForm&_fid_8=" & [Order - Expected Inventory Record ID#]) &
"&_fid_12=" &URLEncode([Product Name])
& "\" alt=\"Scan to add a ticket\" title=\"Scan to add a ticket\"/>"
The code above works fine from a syntax perspective and even populates FiD 8 has intended, however, it's not populating FiD 12. Both FiD 12 and [Product Name] are the same field types of Text fields.
------------------------------
Niraj Shah
------------------------------