AutoSearchField and TableName
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
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
This discussion has been closed.
Comments
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