DanMcLaughlin
4 years agoQrew Trainee
Mobile button save and add
I have an add record form for a barcoding application.
I have one receipt to many objects.
Users would enter a receipt then add object records to take a picture of each object and assign a barcode.
The button works great in desk top but the record id from the parent doesn't go to the child in the mobile app. any ideas here?
code for the button:
var text STYLE =
"background: green;" & //button color
"color: white;" & //text color
"text-align: center;" & //text alignment
"text-decoration: none;" & //none, underline, line-through
"font: 18px Calibri, sans-serif;" & //text size, font, & style
"border: 3px solid #505050;" & //border width, style, & color
"border-radius: 5px;" & //roundness of button corners
"width:100px;"& //button width
"padding: 5px 50px;"; //space between text & button
var text RID = If(IsNull([Record ID#]),"%%rid%%",ToText([Record ID#]));
var text URL = URLRoot() & "db/" & [_DBID_OBJECT_PICS]&
"?a=API_GenAddRecordForm" &
"&_fid_9='"& $RID &
"'&z=" & Rurl();
------------------------------
Dan McLaughlin
------------------------------
I have one receipt to many objects.
Users would enter a receipt then add object records to take a picture of each object and assign a barcode.
The button works great in desk top but the record id from the parent doesn't go to the child in the mobile app. any ideas here?
code for the button:
var text STYLE =
"background: green;" & //button color
"color: white;" & //text color
"text-align: center;" & //text alignment
"text-decoration: none;" & //none, underline, line-through
"font: 18px Calibri, sans-serif;" & //text size, font, & style
"border: 3px solid #505050;" & //border width, style, & color
"border-radius: 5px;" & //roundness of button corners
"width:100px;"& //button width
"padding: 5px 50px;"; //space between text & button
var text RID = If(IsNull([Record ID#]),"%%rid%%",ToText([Record ID#]));
var text URL = URLRoot() & "db/" & [_DBID_OBJECT_PICS]&
"?a=API_GenAddRecordForm" &
"&_fid_9='"& $RID &
"'&z=" & Rurl();
------------------------------
Dan McLaughlin
------------------------------