{INCLUDE _BAS_HDR.HTM}

11.  Chaining to Another Page

You can have one page chain to another page. This is particularily useful for error message pages. You do this by calling PLW.PAGE(fname,'',R.ERR) and then executing a RETURN statement. fname is the page name with path. ERROR is a variable that will be returned. If you wish to pass parameters to the chained page, use the PL_PUTVAR statements to load the variable values into input fields. The chained page can contain embedded Pick BASIC code as well. {INCLUDE _BAS_FTR.HTM}