MannyCruz
8 years agoQrew Assistant Captain
Edit Record and Gen Add Record
I have seen many posts about this already, but they all seem to be for Formula - URL types. Can it be done in Formula Text?
I just need the button to edit the current record, then genAddRecordForm.
Right now I have it on two buttons, here are the formulas;
"<a class='Vibrant Primary' href='bmvauafk7?a=API_EditRecord&apptoken=d7ssqypbdpghg3d3qv57ac4iy8ig&rid=" &
[Record ID#] &
"&_fid_15=" & Today() &
"&_fid_12=" & URLEncode(User()) &
"&_fid_34=true" &
"&rdr=" & URLEncode(URLRoot() & "db/" & Dbid() & "?a=dr&rid=" & [Record ID#]) &
"'>Processed</a>")
"<a class='Vibrant Alert' href='bjvbry32b?a=API_GenAddRecordForm&apptoken=d7ssqypbdpghg3d3qv57ac4iy8ig&_fid_55=" & [SL Tax] &
"&_fid_56=" & &
"&_fid_57=" & [Stamping Fee] &
"&_fid_58=" & [Fire Marshall Fee] &
"&_fid_70=" & [Processed On] &
"&_fid_69=" & [Related Policy] &
"&_fid_71=" & [Effective Date] &
"&_fid_72=" & [Estimated Premium] &
"&_fid_73=" & [Processed By] &
"&_fid_74=" & [Endorsement Type] &
"&_fid_75=" & [Unit Change] &
"&_fid_88=" & [Notes/Additional Details] &
"&_fid_106=" & [Inspection Fee] &
"&_fid_107=" & [Broker Fee] &
"&_fid_113=" & [Endorsement #] &
"'>+ New Endorsement</a>")
Any ideas?
I just need the button to edit the current record, then genAddRecordForm.
Right now I have it on two buttons, here are the formulas;
"<a class='Vibrant Primary' href='bmvauafk7?a=API_EditRecord&apptoken=d7ssqypbdpghg3d3qv57ac4iy8ig&rid=" &
[Record ID#] &
"&_fid_15=" & Today() &
"&_fid_12=" & URLEncode(User()) &
"&_fid_34=true" &
"&rdr=" & URLEncode(URLRoot() & "db/" & Dbid() & "?a=dr&rid=" & [Record ID#]) &
"'>Processed</a>")
"<a class='Vibrant Alert' href='bjvbry32b?a=API_GenAddRecordForm&apptoken=d7ssqypbdpghg3d3qv57ac4iy8ig&_fid_55=" & [SL Tax] &
"&_fid_56=" & &
"&_fid_57=" & [Stamping Fee] &
"&_fid_58=" & [Fire Marshall Fee] &
"&_fid_70=" & [Processed On] &
"&_fid_69=" & [Related Policy] &
"&_fid_71=" & [Effective Date] &
"&_fid_72=" & [Estimated Premium] &
"&_fid_73=" & [Processed By] &
"&_fid_74=" & [Endorsement Type] &
"&_fid_75=" & [Unit Change] &
"&_fid_88=" & [Notes/Additional Details] &
"&_fid_106=" & [Inspection Fee] &
"&_fid_107=" & [Broker Fee] &
"&_fid_113=" & [Endorsement #] &
"'>+ New Endorsement</a>")
Any ideas?