Home End User
New Blog Posts: Merging Reports - Part 1 and Part 2

AutoSearchField and TableName

edited June 2005 in End User
Hi,

I would like to know if there is a way to get the real table name in the
procedure Init from the class TppSimpleSearchPanel.
I'm wrinting my own search dialog, so, I created a class derived from
TppSimpleSearchPanel and now, inside the procedure init I need to know
which table it connects.
I will create dinamically a Query for this table and show it in my
lookup component. The field name I already know because I got it from
Field.FieldName.

Could someone help me?

Thanks,
Gilvan Justino

Comments

  • edited June 2005

    You can access the TppAutoSearchField via the SearchPanel.AutoSearchField
    property.

    The AutoSearchField TableName and TableAlias properties provide info about
    the table name.



    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com


    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.