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

  • 0
  • 1
  • Question
  • Updated 1 year ago
  • Answered
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#])
Photo of Mark Winter

Mark Winter

  • 252 Points 250 badge 2x thumb

Posted 1 year ago

  • 0
  • 1
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 65,796 Points 50k badge 2x thumb
That is extremely difficult to do as there is not really a definition  of what the Next record is.

How about a button to check the checkbox and redisplay the report (refresh the page)
Photo of Mark Winter

Mark Winter

  • 252 Points 250 badge 2x thumb
Thanks, yeah, I think that would work!
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 65,796 Points 50k badge 2x thumb