Contents

 
Home
ASPRunner Professional 7.1 manual
Prev Page Next Page
 
 

Event: AfterAdd

 

Description

Function AfterAdd is executed after a record is physically added to the database.

Syntax

AfterAdd(values,keys,inline)

Arguments

values - array of values has been written to the database. To access specific field value use values("FieldName").

Field names are case-sensitive. If the field name is PlayerId, you should use values("PlayerId"). Note that values("playerid") or values("PlayerID") will not work.

If the field was assigned an alias in the SQL query, then the values array will get the alias instead of field name from the database. E.g. if you have SQL query select salesrep_id AS Inv_Salesrep ..., you should use values("Inv_Salesrep").

keys - array of key column values that point to the new record. To access specific key column use keys("KeyFieldName").

Field names are case-sensitive. If the field name is PlayerId, you should use keys("PlayerId"). Note that keys("playerid") or keys("PlayerID") will not work.

inline - equals to true when the Inline Add in process, false otherwise.

Applies to pages

Add, Inline Add

Recommended predefined actions and sample events

Send a simple email

Send an email with new data

Insert a record into another table

Check to see if a specific record exists

Display a message on the Web page

Redirect to another page

Redirect to details page after master record was added

Converted from CHM to HTML with chm2web Standard 2.85 (unicode)