getdv(expression,condition)
Description
This function is used to get depends item information. It returns the value of the expression, if the valuation of the condition is true. When a folder value or the item text is referenced in the expression it references teh depends item. If folder values are referenced in the condition they are referenced to the current item folder values.
If there are more than one depends items then the results that are returned are for the first one in the list or the lowest numbered depends item. For instance if there are two depends having ItemID number 11 and 15 then the results that are returned are for the Item with Item ID 11 only.
Example
getdv(tv(),fv(folder_name)!="")
returns the item text of the depends item if the value of the folder_name for the current item has some value.
getdv(fv(depends_folder_name), fv(folder_name)=="")
returns the value of the depends item depends_folder_name if it the value of the current item folder_name has no value.
Related Items
getcv(),
getpv(),
itl(),
il()
Rules