*---------------------- Location Section ------------------------ * Library: Aformssearch.vcx * Class: Frmquicksearch * Method: Registercontrols() *----------------------- Usage Section -------------------------- *) Description: *) * Scope: Public * Parameters: *$ Usage: *$ * Returns: *--------------------- Maintenance Section ---------------------- * Change Log: * CREATED 05/20/2005 - NN * MODIFIED *---------------------------------------------------------------- lparameters tcClassName, tcNamedSearch with thisform.oSearchCollection if .getkey(m.tcNamedSearch) = 0 .add(m.tcClassName, m.tcNamedSearch) endif endwithMy container object has a name of "o" + m.tcNamedSearch and it's placed directly on the form.