LauraLinssen1
6 years agoQrew Trainee
URL Button - Change Date/Time Field, Save Form, Display Form
I'm trying to create a URL Button field wherein the Date/Time field is changed to Now, then the form is saved and it displays the form.
I can get the formula to change the Date/Time field and display the form, however, I am running into the issue of saving the form, therefore, if I had anything else typed into another field it doesn't save it.
Here is my current formula:
URLRoot() & "db/" &Dbid() & "?a=API_EditRecord" & "&rid=" & [Record ID#]
& "&_fid_79=" & Now() &
"&_fid_143=100" & "&rdr=" &
URLEncode(URLRoot() & "db/" & Dbid() & "?a=dr&rid=" & [Record ID#])
I had tried adding in "javascript:DoSaveAdd()" into various spots, which I don't know if that helps or not, but I am not a total Formula Master yet. So any help would be great!
Thanks in advance if anyone can help!
Laura
------------------------------
Laura Linssen
llinssen@jjkeller.com
------------------------------
I can get the formula to change the Date/Time field and display the form, however, I am running into the issue of saving the form, therefore, if I had anything else typed into another field it doesn't save it.
Here is my current formula:
URLRoot() & "db/" &Dbid() & "?a=API_EditRecord" & "&rid=" & [Record ID#]
& "&_fid_79=" & Now() &
"&_fid_143=100" & "&rdr=" &
URLEncode(URLRoot() & "db/" & Dbid() & "?a=dr&rid=" & [Record ID#])
I had tried adding in "javascript:DoSaveAdd()" into various spots, which I don't know if that helps or not, but I am not a total Formula Master yet. So any help would be great!
Thanks in advance if anyone can help!
Laura
------------------------------
Laura Linssen
llinssen@jjkeller.com
------------------------------