A CUSTOMERS (SALES thru CUST# (INVENTORY thru ITEM#)) over CUST#the hierarchy may look like this:
Rec TableName LastName Cust# Description Item# --- ---------------- ------------ ------ ------------ ------ 3 CUSTOMERS Smith A00173 609 SALES A00173 I20981 20 INVENTORY Boat I20981 610 SALES A00173 I00798 22 INVENTORY Car I00798 611 SALES A00173 I00161 21 INVENTORY Trailer I00161 1 CUSTOMERS Jones A05072 1 SALES A05072 I01001 1 INVENTORY Airplane I01001 6 SALES A05072 I00029 19 INVENTORY Luggage I00029 10 SALES A05072 I01280 3 INVENTORY Camera I01280 553 SALES A05072 I00798 22 INVENTORY Kayak I00798 639 SALES A05072 I01001 22 INVENTORY Airplane I01001
CUSTOMERS 1 [highest] SALES 2 INVENTORY 3 [lowest]
LastName Cust# Description Item# ------------ ------ ------------ ------ Smith A00173 Boat I20981 Smith A00173 Car I00798 Smith A00173 Trailer I00161 Jones A05072 Airplane I01001 Jones A05072 Luggage I00029 Jones A05072 Camera I01280 Jones A05072 Kayak I00798 Jones A05072 Airplane I01001
Rec TableName LastName Cust# Description Item# --- ---------------- ------------ ------ ------------ ------ 3 CUSTOMERS Smith A00173 609 SALES A00173 I20981 20 INVENTORY Boat I20981 610 SALES A00173 I00798 22 INVENTORY Car I00798 611 SALES A00173 I00161 21 INVENTORY Trailer I00161 1 CUSTOMERS Jones A05072 1 SALES A05072 I01001 1 INVENTORY Airplane I01001 6 SALES A05072 I00029 19 INVENTORY Luggage I00029 10 SALES A05072 I01280 3 INVENTORY Camera I01280 553 SALES A05072 I00798 22 INVENTORY Kayak I00798 639 SALES A05072 I01001 22 INVENTORY Airplane I01001 32 SALES AX9012 I00029 19 INVENTORY Luggage I00029
ddlLookRecFlFrameInfo = 0x00010000 | The presence of this bit indicates the presence of the extended information. The absence of this bit indicates that the TB API version is prior to 8.0.40; or that the hierarchy was created by a means other than ddlRelate() [e.g., a global ddlSort()]. |
ddlLookRecFlFrameStart = 0x00020000 | The presence of this bit indicates that the impending record is the first record of a frame. |
ddlLookRecFlFrameEnd = 0x00040000 | The presence of this bit indicates that the impending record is the last record of a frame. |
ddlLookRecFlMask = 0x0000FFFF |
The value (ctl->Ans3 & ddlLookRecFlMask) produces a 16 bit integer
that has meaning only if the ddlLookRecFlFrameStart bit is present.
This value is the level of the highest valid hierarchy level. It can be used to determine how many hierarchy levels to discard when starting a new frame. |
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.