Forum Discussion
QuickBaseCoachD
7 years agoQrew Captain
You can specify the form ID to edit a record, but you need to know which Record ID to edit.
URLRoot() & "db/" & dbid() & "?a=er&rid=" & [Record ID#] & "&dfid=10"
but when you save it would display the record in the default form ID, so you would need to use
var text EDIT = URLRoot() & "db/" & dbid() & "?a=er&rid=" & [Record ID#] & "&dfid=10";
var text Display = URLRoot() & "db/" & dbid() & "?a=dr&rid=" & [Record ID#] & "&dfid=10";
$Edit
& "&NextURL=" & URLEncode ($Display)
URLRoot() & "db/" & dbid() & "?a=er&rid=" & [Record ID#] & "&dfid=10"
but when you save it would display the record in the default form ID, so you would need to use
var text EDIT = URLRoot() & "db/" & dbid() & "?a=er&rid=" & [Record ID#] & "&dfid=10";
var text Display = URLRoot() & "db/" & dbid() & "?a=dr&rid=" & [Record ID#] & "&dfid=10";
$Edit
& "&NextURL=" & URLEncode ($Display)