I believe I understand what you're asking, forgive me if this does not help.
This is the part that works,
var text URLOne=
URLRoot() & "db/" & Dbid() & "?act=API_EditRecord & rid=" & [Record ID#] & "&apptoken=abcd"
& "&_fid_98=" & ToNumber([Current Inventory]+[delta value])
& "&_fid_112="
& "&_fid_110=" & URLEncode([Inventory Delta]=0);
var text URLTwo=
URLRoot() & "db/" & Dbid() & "?a=er&dfid=2&rid=" & [Record ID#]; $URLOne & "&rdr=" & URLEncode($URLTwo)
It stops working when I attempt to point it to a report when done by making it look like this,
var text URLOne=
URLRoot() & "db/" & Dbid() & "?act=API_EditRecord & rid=" & [Record ID#] & "&apptoken=abcd"
& "&_fid_98=" & ToNumber([Current Inventory]+[delta value])
& "&_fid_112="
& "&_fid_110=" & URLEncode([Inventory Delta]=0);
var text URLTwo=
URLRoot() & "db/" & Dbid() & "?a=q&qid=3"; $URLOne & "&rdr=" & URLEncode($URLTwo)
------------------------------
J. T. Ogle
------------------------------