I should also add that your existing formula will create global variables that could conflict with QuickBase's global variables :
&"var dbid = '" & [_DBID_Example] & "';"
&"var recordID = '" & [Record ID#] & "';"
&"var appToken = '" & [AppToken] & "';"
&"var mfgDate = '" & [Date Created] & "';"
&"var serialNum = '" & [Serial Number] & "';"
&"var recordID = '" & [Record ID#] & "';"
&"var name = 'Example';"
You can reduce the chance of this but prefixing wtih QBU:
&"var QBU_dbid = '" & [_DBID_Example] & "';"
&"var QBU_recordID = '" & [Record ID#] & "';"
&"var QBU_appToken = '" & [AppToken] & "';"
&"var QBU_mfgDate = '" & [Date Created] & "';"
&"var QBU_serialNum = '" & [Serial Number] & "';"
&"var QBU_recordID = '" & [Record ID#] & "';"
&"var QBU_name = 'Example';"
I sent out a factitious memo years ago informing all earth based QuickBase staff to never use a variable, id or class name etc that starts with
QBU to avoid namespace collisions. Maybe I should resend my memo as they hired a lot of new developers in the last decade.