abfOpenComponent()
Opens an existing component in the currently open request.
Syntax
intabfOpenComponent(const char *name);
Inputs
- name
- The name of the component to be opened.
Return Value
- 0
- On success
- 1
- On failure (indicates component does not exist)
Example
int ret;
ret = abfOpenComponent("X");
if (ret)
abfNewComponent("X"):
abfOpenComponent("X");
}
Comments
This function must be called after a request has been opened.
Only one component can be open at a time.