Skip to main content
Question

Edit API using Formula Rich Text

  • October 28, 2020
  • 0 replies
  • 26 views

Forum|alt.badge.img+14
I took this code from Kirks Magic Buttons, and messed with it a bit but I guess too much and it doesn't seem to work. Anyone see the error?

"<a class='Vibrant Snowy' style=\"width:310px;\" href='" & Dbid() & "?a=API_EditRecord&rid=" & [Record ID#] & "&apptoken=xxxxxxxxxxxxxxxxxxxxxxxxxx&fid_186=CLIN 0009&_fid_175=" & [Numeric Value Field] & "&rdr=" & URLEncode(URLRoot() & "db/" & Dbid() & "?a=dr&rid=" & [Record ID#]) & "'>Assign To "& [Site Code] & "</a>"


Where field 186 is a multiple choice field with 'CLIN 0009' as one option, and field 175 is a related numeric field.

It all works except the most important part, the edit record api. Nothing seems to happen. Not sure if its not even running the edit record api, or its not actually changing the fields....I just know that nothing happens. I land on the record and nothing has been edited.

------------------------------
Mike Tamoush
------------------------------

MarkShnierYou
Forum|alt.badge.img+24
This is wrong here

xxxxxxxxxxxxxxxxxxxxxxxxxx&fid_186=

s/b

xxxxxxxxxxxxxxxxxxxxxxxxxx&_fid_186=

Missing the leading underscore

------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------