Forum Discussion
MichaelFrishman
7 years agoQrew Cadet
Adding another step, I'd like to populate a datestamp in the form that the user is taken to. I tried adding this to the code you gave me:
var text Edit = URLRoot() & "db/" & Dbid() & "?a=er&dfid=10&rid=" & [Record ID#] &_fid_46=" & Today();
But it doesn't actually perform the datestamp.
I've done quite a bit of reading on the forums trying to understand this I believe that adding values to multiple fields only works with API_EditRecord, not with the a=er statement.
So if I start on a parent form viewing the child report,
1) Take the user to dfid=10 on the child table
2) Date stamp the fid=75
3) Have the user make a selection and save the record
4) Return the user to the parent form
When I use API_EditRecord, it doesn't take me to the child form and shows me the API completion code. When I use a=er, it doesn't datestamp but does take me to the form.
Is there a way to do all 3 functions at once?
var text Edit = URLRoot() & "db/" & Dbid() & "?a=er&dfid=10&rid=" & [Record ID#] &_fid_46=" & Today();
But it doesn't actually perform the datestamp.
I've done quite a bit of reading on the forums trying to understand this I believe that adding values to multiple fields only works with API_EditRecord, not with the a=er statement.
So if I start on a parent form viewing the child report,
1) Take the user to dfid=10 on the child table
2) Date stamp the fid=75
3) Have the user make a selection and save the record
4) Return the user to the parent form
When I use API_EditRecord, it doesn't take me to the child form and shows me the API completion code. When I use a=er, it doesn't datestamp but does take me to the form.
Is there a way to do all 3 functions at once?