Home page  
Help >
ddlLookRec() - get information about the next record in a collection
Version 7.11
ddlLookRec() - get information about the next record in a collection ddlLookRec() - get information about the next record in a collection

Prototype:

   void ddlLookRec(
      CONTROL *ctl,
      char *OptionString,
      char *ArgString);

Permitted values in OptnStr: NA


Form of ArgList:
      <cx> [<TableName>]

Description:
Advances to the next record pointer in the specified collection; and returns information about that record.

Values returned in Control Structure:
Control.Ans1 If end of data: 0
If Table-specific collection: 1
If global collection: hierarchy level of record - 1 thru N
Control.Ans2 Record number of record
Control.Ans3 Extended frame information
enum{
   ddlLookRecFlMask         = 0x0000FFFF,
   ddlLookRecFlFrameInfo    = 0x00010000,
   ddlLookRecFlFrameStart   = 0x00020000,
   ddlLookRecFlFrameEnd     = 0x00040000
};
Control.Ans3str[] Table name of record

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.