Home page  
Help >
ddlDestroyFieldAlias() - destroy the alternate name for a field
Version 7.11
ddlDestroyFieldAlias() - destroy the alternate name for a field ddlDestroyFieldAlias() - destroy the alternate name for a field

ddlDestroyFieldAlias() is used to delete the alternate name, or alias, that was previously assigned by the ddlCreateFieldAlias() function.

Prototype:
   void ddlDestroyFieldAlias(
      CONTROL *ctl,
      char *OptnStr,
      char *ArgList);          /* command argument list */

Permitted values in OptnStr:
   /E - if <TableName> or <AliasName> do not exist, do not store error
        status in ctl->Status; instead, store error status in ctl->Warning;

Form of ArgList:
<TableName> <AliasName>
<TableName> represents the target Table name;
<AliasName> represents the name of the alias

Description:
ddlDestroyFieldAlias() removes the <AliasName> assigned by the ddlCreateFieldAlias() function.

Value returned in Control.Ans1:
      If the command succeeds, %Answer1 contains "1".

Copyright © 2019 , WhamTech, Inc.  All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. Names may be trademarks of their respective owners.