Goto: 4C Home | 4C Docs | req4c Docs | req4c Function List req4c_get_prog()

req4c_get_prog()

Purpose:
req4c_get_prog() returns the 4C program name that generated the current ResultRow in <resultset>.
Usage:
$prname = req4c_get_prog(<resultset>);
Arguments:

<resultset> - A ResultSet resource returned by req4c_run().
Returns:
false - Error
$prname - The name of 4C program that generated the current ResultRow in <resultset>
Where Used:
req4c_get_prog() can be called anytime you have a req4c ResultSet and need to know the name of the 4C program that generated the current ResultRow in <resultset>.
Example:
Description:
req4c_get_prog() returns the 4C program name that generated the current ResultRow in <resultset>. $prname can be used to determine how you want to fetch or format the ResultRow.
Bugs/Features/Comments:
req4c_get_prog() does not access the network
req4c_get_prog() leaves the current message list intact.
See Also:
req4c_get_prog()
req4c_get_next_prog()
req4c_get_prev_prog()
req4c_get_first_prog()
req4c_get_last_prog()
req4c_get_type()
req4c_get_next_type()
req4c_get_prev_type()
req4c_get_first_type()
req4c_get_last_type()


Back to Top