KellyBianchi
8 years agoQrew Assistant Captain
I need a formula that will open an alternate version of a form to populate a field, save, and then edit a couple of fields on the full form.
I need a formula that will open an alternate version of a form to populate a field, save, and then edit a couple of fields on the full form. I had 2 separate actions. 1. Click on a button, enter a code, and pull up information. Save the information to the form... and then 2. Click on a button to check a box and time stamp. I would like to make this a single step, and I know it's possible, but I haven't been able to make it work. Here's my formula:
If([Recon] = false,
"<a " & $style & " href='" & Dbid() & "?a=API_EditRecord&apptoken=d58b2yeetqfh3d7snhfjdjf7sv2&rid=" & [Record ID#] & "&dfid_12&rdr=" & URLEncode(URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&apptoken=d58b2yeetqfh3d7snhfjdjf7sv2&rid=" & [Record ID#] & "&_fid_44=" & "Recon In" & ", " & [Driver] & "&_fid_88=1" & "&rdr=" & URLEncode(URLRoot() & "db/" & Dbid() & "?a=dr&rid=" & [Record ID#] & "")) & "'>RECON IN</a>",
"<a " & $style & " href='" & Dbid() & "?a=API_EditRecord&apptoken=d58b2yeetqfh3d7snhfjdjf7sv2&rid=" & [Record ID#] & "&dfid_12&rdr=" & URLEncode(URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&apptoken=d58b2yeetqfh3d7snhfjdjf7sv2&rid=" & [Record ID#] & "&_fid_44=" & "Recon Out" & ", " & [Driver] & "&_fid_88=0" & "&rdr=" & URLEncode(URLRoot() & "db/" & Dbid() & "?a=dr&rid=" & [Record ID#] & "")) & "'>RECON OUT</a>"
)
I've been at this all night, so I would greatly appreciate any ideas. Thank You!
If([Recon] = false,
"<a " & $style & " href='" & Dbid() & "?a=API_EditRecord&apptoken=d58b2yeetqfh3d7snhfjdjf7sv2&rid=" & [Record ID#] & "&dfid_12&rdr=" & URLEncode(URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&apptoken=d58b2yeetqfh3d7snhfjdjf7sv2&rid=" & [Record ID#] & "&_fid_44=" & "Recon In" & ", " & [Driver] & "&_fid_88=1" & "&rdr=" & URLEncode(URLRoot() & "db/" & Dbid() & "?a=dr&rid=" & [Record ID#] & "")) & "'>RECON IN</a>",
"<a " & $style & " href='" & Dbid() & "?a=API_EditRecord&apptoken=d58b2yeetqfh3d7snhfjdjf7sv2&rid=" & [Record ID#] & "&dfid_12&rdr=" & URLEncode(URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&apptoken=d58b2yeetqfh3d7snhfjdjf7sv2&rid=" & [Record ID#] & "&_fid_44=" & "Recon Out" & ", " & [Driver] & "&_fid_88=0" & "&rdr=" & URLEncode(URLRoot() & "db/" & Dbid() & "?a=dr&rid=" & [Record ID#] & "")) & "'>RECON OUT</a>"
)
I've been at this all night, so I would greatly appreciate any ideas. Thank You!