Discussions

Expand all | Collapse all

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

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

    Posted 12-22-2017 00:48
    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#])


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

    Posted 12-22-2017 02:19
    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)


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

    Posted 12-22-2017 19:41
    Thanks, yeah, I think that would work!


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