Skip to content

pbUseAllTables - cTableColumnFetchHelper

Determines if all open tables should be operated on, or the object contains a list of tables that should be used instead.

Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None

Syntax

Property Boolean pbUseAllTables
Access Type Syntax
Read Access: Get pbUseAllTables to BooleanVariable
Write Access: Set pbUseAllTables to BooleanVariable/Value

Description

This determines if all open tables should be operated on, or the object contains a list of tables that should be used instead. Normally, you will operate on all open files and you will, therefore, not need to change this property.

If this property is set false, you will need to create a list of files that this fetch helper object will use. Use the AddTable method to do this.

Object oOrderFetcher is a cTableColumnFetchHelper
    Set pbUseAllTables to False

    Send AddTable Customer.File_Number
    Send AddTable OrderHea.File_Number
    Send AddTable OrderDtl.File_Number
    Send AddTable Vendor.File_Number
    Send AddTable Invt.File_Number
    Send AddTable Salesp.File_Number
End_Object  // oOrderFetcher