Forum Discussion
EvanFujikawa
8 years agoQrew Cadet
Is there a function I can add to the formula you provided that will allow a user access to the root cause record created by the add button? After a record is added I want to disable the user from adding multiple records to the same row and only allow access for editing the record that was created.
var text URLONE = URLRoot() & "db/" & [_DBID_ROOT_CAUSE] & "?a=API_GenAddRecordForm&_fid_17=" & URLEncode ([Record ID#]);
var text URLTWO = URLRoot() & "db/" & [_DBID_DAMAGE] & "?a=dr&rid=" & [Related Incident];
$URLONE
& "&NextURL=" & URLEncode($URLTWO)