StrataFrame Forum

Display BowseDialogue Search Criteria

http://forum.strataframe.net/Topic30380.aspx

By Andrew Harper - 9/27/2011

Hi,

I have an enquiry form that is using a BrowseDialogue to populate a BO that is subsequently displayed in a grid.

Is it possible to display the criteria that the browse dialogue used to populate the BO in a Label on the form?

I have searched through the browse dialogue properties but couldn't locate the criteria used,

TIA,

Andy
By Ivan George Borges - 9/28/2011

Hi Andrew.

Have a look at the SearchValueChanged event.

You can add code to it and work with the e.SourceSearchField.Key and e.SourceControl.Text in order to store the contents somewhere for later use.
By Andrew Harper - 9/28/2011

Thanks Ivan,

I have found what I need in the the parameters to the SearchValueChanged and BeforeSearchexecuted events,

Andy

By Ivan George Borges - 9/29/2011

Glad you got it going, Andy. http://forum.strataframe.net/Skins/Classic/Images/EmotIcons/Cool.gif