Forum Discussion

MarkWinter1's avatar
MarkWinter1
Qrew Trainee
8 years ago

While viewing a record (IE Not editing), click a button that checks a box, saves, and goes to next record

I have this URL field code that works well to do everything EXCEPT go to the next record.  Can someone help me modify this to go to redirect to the next record?

var bool checkedstate = (If([Do Nothing], true, true)) ;

URLRoot() 

& "db/" 

& Dbid() 

& "?a=API_EditRecord"

& "&rid="

& [Record ID#]

& "&_fid_51=" 

& $checkedstate 

& "&rdr=" 

& URLEncode(URLRoot() & "db/" & Dbid() & "?a=dr&rid=" & [Record ID#])