ph_deletedata PowerHome formula function
Description
Allows you to delete retrieved data in the specified Data
Retrieval Area
Syntax
ph_deletedata ( ai_dsvar, al_row )
Argument | Description |
ai_dsvar | Integer. The Data Retrieval Area number you
wish to delete data from. Valid values are 1 thru 20 |
al_row | Long. The row number in the specified data
retrieval area that you wish to delete |
Return value
Integer. Returns 0 if
successful. Returns -1 if ai_dsvar is < 1 or > 20. Returns -2
if ai_dsvar is not valid (contains previously retrieved data).
Returns -3 if al_row < 1 or > the number of rows in the data
retrieval area. Returns -4 if
the deletion fails.
Usage
Use this function to delete data has been
previously retrieved in one of the 20 data
retrieval areas
Examples
The following examples demonstrate typical syntax/usage for this function.
• ph_deletedata(1,5) - Deletes row
number 5 from Data Retrieval Area number
1