Forum Discussion
- MCFNeilQrew CaptainCan you post "your" formula? You can change the app token to zzzzzz, but please leave the rest of it as is. Then I should be able to spot the error.
- KellyBianchiQrew Assistant CaptainHere you go... Also started a new thread.
var text URL= URLRoot() & "db/" & [_DBID_TIME_CLOCK] & "?a=API_AddRecord&_fid_6="&URLEncode ([Record ID#])&"&apptoken=d58b2yeetqfh3d7snhfjdjf7sv2&_fid_xx="&URLEncode(Today());
"javascript:" &
"$.get('" &
$URL &
"',function(){" &
"location.reload(true);" &
"});"
& "void(0); - MCFNeilQrew CaptainOk, Don't feel bad, but....
in the portion of the formula after the app token where we are putting the "Today" function.
&apptoken=d58b2yeetqfh3d7snhfjdjf7sv2&_fid_xx="&URLEncode(Today());
You need to change the "xx" to be the field ID of your date field on the child table. So if the date field is field id 12 your formula would look like:
&_fid_12="&URLEncode(Today()); - KellyBianchiQrew Assistant CaptainOh, I should add... It works beautifully!
- KellyBianchiQrew Assistant CaptainLol... I put that in the first ID field, which now explains why it wasn't going into the correct record. Thank you!