Home page  
Help >
ddlFindCxData() - extract structure datato user array
Version 7.11
ddlFindCxData() - extract structure datato user array ddlFindCxData() - extract structure data to user array

Prototype:

   void ddlFindCxData(
      CONTROL *ctl,
      char *OptnStr,
      char *ArgList,
      int MaxDataSize,         /* size of *ReturnData */
      long *ReturnData,        /* user supplied array for return data */
      int *TotalDataSize);     /* return actual number of data elements */

Permitted values in OptnStr: NA

Form of ArgList:
      [<cx> [<table-name>]] <simple-expression>
             <cx> is a collection (not used)
             <table-name> is a table name (not used)
             <simple-expression> is <key-name> <op> <value>
                   <op> is {EQ, EQR}

Description:
The ddlFindCxData() API function is intended for structures that contain arbitrary data (rather than record numbers); these structures are always virtual and are created with the ddlStructure() API function with the /D option.


Values returned in Control Structure:
Control.Ans1 Number of items transfered
Control.Ans2 Actual number of items isolated

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.