Sunday, 2 October 2016

miscellaneous

/ active -  this is executed when the user scrolls to make a new record 
// linkActive - this happens when the user scrolls to a new record in a form
with its datasource linked to another datasource (this happens only when a
link between 2 data sources has been established)
The LinkActive is called when the active method in a dynalinked parent form is called.  Commonly overridden to change the user interface to correspond to a different parent record (element.args().record()).

//Init  - executed when the form is opened 
// initvalue - executed when a new record is created. This is mainly sued to
fill in the intial values.


Tablename_ds.executeQuery() :
You use this method when you want some function to run when the form is
opened for data display. The function has to be written before the super()

TableName_ds.refresh() :
The super in this method updates all the fields in the datasource (used to
display the updated records)

No comments:

Post a Comment

8 Common Errors in Dual-write

502 Bad Gateway : when the target application is not ready to handle the incoming request  401 Unauthorized / 403 Forbidden: This error occ...