tpm_qrysettoponame

Land Desktop Development ARX CPP SDK

Up a level
tpm_qrysettoponame
 
 

Defines or undefines a topology query.

int

tpm_qrysettoponame(

char *toponame);

Returns RTNORM or an error code.

toponame The name of the topology to query, or NULL.

This function determines whether the current query is a topology query or a standard data extension query as follows:

  • If the toponame argument is NULL, the current query becomes a standard data extension query.
  • If the toponame argument is a name, the current query becomes a topology query. But if you specify a topology that does not exist, a subsequent call to ade_qryexecute returns NULL.

If you specify a topology that does not exist, a subsequent call to ade_qryexecute returns an error code.