|
3. Open
the Control Properties dialog and enter the values as shown
in the screen shot below. The control properties dialog provides
a hook for setting specific properties or firing off methods
avaiable to the control. For the sample AARLOOKUPBOX control,
you need to specify the table name, the table column (rowsource),
whether this table is an ODBC datasource, and if so the ODBC
connection. If it's an ODBC datasource, and you have the default
"connect when Preference opens" option selected, then the
ODBC connection handle will be in the m.pg_oSqlMgr.nconnection
property of the Sql Mgr object. See the sample Control Properties
dialog for the Authors City data item that is a column in
the Sql Server sample PUBS database.
|