Changing the IndexNumber or
TableName property will erase the current join.
The Join property syntax has these parts:
The Join property may be used to automatically synchronize related data files in one-to-one or one-to-many relationships.
To join one VAccess control to another, simply specify which index to use in the IndexNumber property, specify the name of the master VAccess control in the
Join property, followed by a colon, followed by the names of the fields in the master control which will correspond exactly to values in the selected index of the joined control.
To get a snapshot of an order beginning with a company name, join Orders to Customers by CompanyCode, join OrderLineItems to Orders by OrderNumber, and Products to Items by ProductCode (see Figure 7). Getting a Customer by company name will fetch all of that customer’s orders, all line items for each order selected, and the correct product information for any selected line item. Choosing a different order or a different line item will re-synchronize the data sets of all of the subsequent joined controls.