== Overview ==
== How it works =Functions Available (Reference Information) =
As part of the functionality there are a number of predefined functions. These are set in aryAjax_Settings[[File:AJAXoperation001.png]16]
# When you log into bxp and start a form, the page will draw based on the Form (Web Page is built on Form 1).# As part of the code of the page you can include AJAX functionality into the formfunctions are detailed, done through the Advanced Settings > JavaScript onLoad. (AJAX is drawn into the page.)# When the page is executed in the clients browser, the AJAX can be activated and it works through please use the BEAPI to access data in any number of formslinks where available for further details.
== Array of Parameters Listing (Displays) ==
A full {| class="wikitable"|-! style="width:20%" | Function! style="width:40%" | Link! style="width:40%" | Description|-| Table || [[AJAX_-_Function_-_Table]] || Draws a listing is available here of records from another form facilitating passed parameters. e.g. List contacts in a table in company form.|-| LiveSearch || [[AJAX_-_Full_Array_of_Paramters_Function_-_LiveSearch]] || The ability to put a single row of data with the ability to put a custom function on the button.|-| LiveSearchTable || [[AJAX_-_Function_-_Live_Search_Table]] || An extension of the LiveSearch function but displays the data in a table format, rather than one string.|-| LiveSearchKeyStatData || [[AJAX_-_Function_-_LiveSearchKeyStatData]] || Return of data in a delimited string suitable for use in the KeyStats module. |}
== Functions Available ==
As part of the functionality there are a number of predefined == Lookup functions. These are set in aryAjax_Settings[16] As the functions are detailed, please use the links where available for further details.==
{| class="wikitable"
|-
! style="width:20%" | Function! style="width:40%" | Link! style="width:40%" | Description
|-
| Append || [[AJAX_-_Function_-_Append]] || Lookup data from a form and append it to data in a field in the current form
|-
| dbDeleteRecord Insert || [[AJAX_-_Function_-_dbDeleteRecord_Insert]] || |- | dbInsertRecord || [[AJAX_-_Function_-_dbInsertRecord]] || Lookup data from a form and insert it into a field in the current form
|-
| dbUpdateRecord InsertCount || [[AJAX_-_Function_-_dbUpdateRecord_InsertCount]] || Lookup a summative count of records from a form and insert the counted amount into a field in the current form
|-
| Insert Populate || [[AJAX_-_Function_-_Insert_Populate]] || Wipes a drop down list then populates the contents of the drop down list with values from another form. Text and value of the drop down list will be the same.
|-
| InsertCount Populate_AltList || [[AJAX_-_Function_-_InsertCount_Populate_AltList]] || Wipes a drop down list then populates the contents of the drop down list with values from another form. Text and value of the drop down list can be populated with different values.
|-
| LiveSearch PopulateNoClear || [[AJAX_-_Function_-_LiveSearch_PopulateNoClear]] || Adds to the contents of a drop down list with values from another form. Text and value of the drop down list will be the same.
|-
| LiveSearchTable PopulateNoClear_AltList || [[AJAX_-_Function_-_Live_Search_Table_PopulateNoClear_AltList]] || Adds to the contents of a drop down list with values from another form. Text and value of the drop down list can be populated with different values.|} == Record Management == {| class="wikitable"
|-
! style="width:20%" | LiveSearchKeyStatData || [[AJAX_-_Function_-_LiveSearchKeyStatData]] Function! style="width:40%" |Link! style="width:40%" | Description
|-
| Populate || [[AJAX_-_Function_-_Populate]] || |-| Populate_AltList dbDeleteRecord || [[AJAX_-_Function_-_Populate_AltList_dbDeleteRecord]] || To allow the deletion of a CDA record from another form.|-| PopulateNoClear dbInsertRecord || [[AJAX_-_Function_-_PopulateNoClear_dbInsertRecord]] || To allow the insertion of a CDA record into another form.
|-
| PopulateNoClear_AltList dbUpdateRecord || [[AJAX_-_Function_-_PopulateNoClear_AltList_dbUpdateRecord]] || To allow the update of a CDA record in another form.
|-
| Table || [[AJAX_-_Function_-_Table]] ||
|}
= How it works =
[[File:AJAXoperation001.png]]
# When you log into bxp and start a form, the page will draw based on the Form (Web Page is built on Form 1).
# As part of the code of the page you can include AJAX functionality into the form, done through the Advanced Settings > JavaScript onLoad. (AJAX is drawn into the page.)
# When the page is executed in the clients browser, the AJAX can be activated and it works through the BEAPI to access data in any number of forms.
= Array of Parameters =
A full listing is available here [[AJAX_-_Full_Array_of_Paramters]]
== Solutions ==