Forum Discussion
Shelly_AnnAiken
Qrew Member
I am still getting error. I am still new to this. 529 is the field ID for checkbox field
Error: There are extra characters beyond the end of the formula.
------------------------------
Shelly Ann Aiken
------------------------------
Error: There are extra characters beyond the end of the formula.
URLRoot() & "db/" & Dbid() & "?a=API_EditRecord" &
"&rid=" & [Record ID#] &
"&apptoken=cd9d9ctqt3qb2jdr7mybtrmbsf" &
"&_fid_59=1" & "&_fid=529" //this is the checkbox field
"&rdr=" & URLEncode(URLRoot() & "db/" & Dbid() & "?a=td")
"&rid=" & [Record ID#] &
"&apptoken=cd9d9ctqt3qb2jdr7mybtrmbsf" &
"&_fid_59=1" & "&_fid=529" //this is the checkbox field
"&rdr=" & URLEncode(URLRoot() & "db/" & Dbid() & "?a=td")
------------------------------
Shelly Ann Aiken
------------------------------
MikeTamoush
3 years agoQrew Commander
Is your checkbox field 259? If so:
URLRoot() & "db/" & Dbid() & "?a=API_EditRecord" &
"&rid=" & [Record ID#] &
"&apptoken=xxxxxxxxxxxxxxxxxxxxxxxxxx" &
"&_fid_259=1" & //259 is the checkbox field, 1 just means set it to true, or set it to checked
"&rdr=" & URLEncode(URLRoot() & "db/" & Dbid() & "?a=td")
------------------------------
Mike Tamoush
------------------------------
URLRoot() & "db/" & Dbid() & "?a=API_EditRecord" &
"&rid=" & [Record ID#] &
"&apptoken=xxxxxxxxxxxxxxxxxxxxxxxxxx" &
"&_fid_259=1" & //259 is the checkbox field, 1 just means set it to true, or set it to checked
"&rdr=" & URLEncode(URLRoot() & "db/" & Dbid() & "?a=td")
------------------------------
Mike Tamoush
------------------------------
- Shelly_AnnAiken3 years agoQrew MemberHi Mike,
now it run with no error. However it did not check the checkbox on the form before saving and going back to table home page. what am i missing?
------------------------------
Shelly Ann Aiken
------------------------------- MarkShnier__You3 years agoQrew LegendShelly, you need to set the field to be updated to match the Field ID of your checkbox field. Think some digits were transposed.
URLRoot() & "db/" & Dbid() & "?a=API_EditRecord" &
"&rid=" & [Record ID#] &
"&apptoken=xxxxxxxxxxxxxxxxxxxxxxxxxx" &
"&_fid_529=1" & //529 is the checkbox field, 1 just means set it to true, or set it to checked
"&rdr=" & URLEncode(URLRoot() & "db/" & Dbid() & "?a=td")
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------- MikeTamoush3 years agoQrew CommanderThanks Mark.
Shelly, Mark is likely correct. The 529 should be the field ID of your checkbox. I accidentally transposed them when correcting your formula.
------------------------------
Mike Tamoush
------------------------------