Brandon,
So I tried to adapt what you recommended to my situation. I am now getting a different error. The child record is still being updated correctly, but I am just not being taken back to the parent record.
The error message I get is stating that the child record cannot be found. Yet the child record was updated .... ????
Job is the child record.
Here is the updated code I am using:
URLRoot() & "db/" & Dbid()
& "?act=API_EDITRecord&rid=" & [Job ID#]
& "&_fid_177=" & Now()
& "&_fid_178=" & UserToName(User(), "FF")
& "&rdr=" & Dbid()& URLEncode("?a=er&rid="&[Work Order ID#])
Just to be clear, this is a URL formula field in the child table. It is in a report whis is embedded in the parent table form. I am clicking the button from within the parent table form. I am not sure if that was clear from my original posts.
Looking at the code, would it make any difference if it was the following:
URLRoot() & "db/" &
[_DBID_JOBS]& "?act=API_EDITRecord&rid=" & [Job ID#]
& "&_fid_177=" & Now()
& "&_fid_178=" & UserToName(User(), "FF")
& "&rdr=" & Dbid()& URLEncode("?a=er&rid="&[Work Order ID#])
I appreciate you walking me through this.
------------------------------
Andrew
andrew.fry25@gmail.com
------------------------------