bAt Master Add-In
The bAt Master Add-In is an Add-In designed for Visual
Basic. It's filename is "bAtMstr.exe". See your VB documentation.
Inserting child controls into an atb control
-
In the VB IDE open a form with an atb control
on it. The atb control should have columns defined.
-
Open the bAt Master Add-In (Menu
Add-Ins, Command Add-In Manager)
-
Select the proper atb control from the
Form.atb combo box. The defined columns will appear at the
Columns list.
-
Select a column from this list.
-
Select one of the txt, chk and cbo
buttons to specify which sort of control you want to insert.
-
Push Insert Control. A new control will be
inserted into your atb control.
-
Adjust the new control to your needs (Top, Left,
Width, Height, LabelWidth, LabelAlign). Note: You don't have to supply
any of the Data*
properties. The control will be connected to the column through its
name.
-
Select the next column from bAt Master's Columns
list.
Optional select an other of the txt, chk and cbo
buttons.
-
Push Insert Control
. The next new control is inserted
below the first inserted control.
-
Adjust the Top
positioning of the inserted control.
The next control will use the distance between its two predecessors.
-
Repeat steps 8 and 9 as needed.
Drag and Drop information to the Foreigns Property
Page
- In the VB IDE open a form with an atb control on it (Own
atb). The atb control should have columns defined. There should
be at least one other form with an atb control (Foreign
atb) bound to a recordset containing the details (1-side) for the
first control's recordset (M-side).
- Open the bAt Master Add-In (Menu Add-Ins, Command
Add-In Manager)
- Select the Foreign atb control from the Form.atb combo
box. The defined columns will appear at the Columns list.
- Select the Own atb. Klick the left mouse
button. Select Properties. The property pages for the atb
control will appear.
- Select the Foreigns tab from the property pages.
- Select the FieldName you want to connect.
- Select the entry of the combo box Form.atb
from the bAt Master Add-In
.
- Drag this entry to the Form box or to the
atb box of the property page. Both columns will be filled with the
information from Form.atb
.
- Select a column from bAt Master's Columns
list and drag it to the Field
box of the property page.
- Select another column from bAt Master's Columns
list and drag it to the DisplayField box of the property page.
Tip
Hold the mouse over any element of the bAt Master Add-In to learn
more about it.
Fig1: The bAt Master Add-In showing the columns
of control atb1 in form frmEmp.