AprylStoldt
6 years agoQrew Cadet
dymo label field variable
I'm trying to create a button to print a label on a Dymo Labelwriter printer. How do you set the variable based upon field ID or field name instead of tdf_# ?
var tdfidSupp = & URLRoot() & "db/" & dbid() & "?a=printr&dfid=18&rid=" & [Record ID#]
var tdfidDesc = "tdf_2";
The tdf_# works, although I don't want to have to remember to update js code anytime I update form.
var tdfidSupp = & URLRoot() & "db/" & dbid() & "?a=printr&dfid=18&rid=" & [Record ID#]
var tdfidDesc = "tdf_2";
The tdf_# works, although I don't want to have to remember to update js code anytime I update form.