Active : The user selects a new
record.Retrieves data from joined datasource when a user moves to a new record.
Create : The user creates a new record in the
datasource.If you use this method to specify field valuues,the new value are
saved to the database when you leave the form.
Delete : the user deletes a record in the
datasource.Deletes the current reord from the datasource.
ExecuteQuery : The form is opened for data
display.Executes the datasource query and displays the retrieved records.
Filter : The user starts one of the filter
commands on the form shortcut menu.Filter records in the datasource.
FindRecord : Activated by the find value
method.Finds the specified record in the database and makes it the current one.
InIt : The form is opened.Creates a datasource
query based on the datasource properties.
InItValue : A new record is created.The
purpose is to fill in initial values in the record.Initializes field values in
a new record.If you use this method to specify field values,the new values are
not automatically saved to the database when you leave the form.To specify
values that you want to save when you leave the form,use the created method.
LinkActive : The user selects a new record in
a form that has a datasourcelinked to another datasource.Calls the
FormDataSource.executeQuery method on data sources that are linked to the
current data source.
Refresh : Not sgtarted by the system.Updates
the form by refreshing the view of all records in the datasource.WILL NOT
REREAD THE RECORD FROM THE DATASOURCE.IT BASICALLY JUST REFRESHES THE SCREEN
WITH WHATEVER IS STORED IN THE FORM FROM THE CACHE.
Reread : Not started by the system.Rereads the
current record from the datasource.WILL ONLY REREAD THE CURRENT RECORD FROM THE
DATABASE SO YOU SHOULD NOT USE IT TO REFRESH THE FORM DATA IF YOU HAVE
ADDED/REMOVED RECORDS.
Research : Not started by the system.Refreshes
the database search defined by the query , specified by the FormDataSource.init
method.WILL RETURN THE EXISTING FORM QUERY AGAINST THE DATASOURCE,THEREFORE
UPDATING THE LIST WITH NEW /REMOVED RECORDS AS WELL AS UPDATING EXISTING
ONES.THIS WILL HONOUR ANY EXISTING FILTERS AND SORTING ON THE FORM.
SelectionChanged() : The user selects or
unselects one or morerecords in the datasource.Enables youo to change the
property values of control when the selected record changes.
ValidateWrite() : A new or updated record is
to be written determines whether data is valid and ready to be written.
Write() : The user inserts a new record or
updates an existing one.Calls the FormDataSource.validateWrite method and
manages the database write operation.