Browse dialog


Author
Message
Chan
Chan
Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
Hi,

I have how-to questions on browse dialog:-



1. I need to allow user to specify search value on a field which doesn't exist in search BO. Then in searching event, I would add new condition to WHERE clause based on this value. Is it possible? How?



2. I want to use custom control as search field input in browse dialog. Possible? How?



Thank you
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
. I need to allow user to specify search value on a field which doesn't exist in search BO. Then in searching event, I would add new condition to WHERE clause based on this value. Is it possible? How?

Yup.  Look at the advanced BrowseDialog sample and the docs in the 1.6.5 release to see how to handle the Searching event.  Just create a custom field in the BO to which the search field is attached, then adjust the query through the Searching event of the BrowseDialog when executed.

I want to use custom control as search field input in browse dialog. Possible? How?

Not possible at present.  We dynamically create the controls so that we know how to deal with them.  So if you need to have custom controls as the search fields you may have to create your own browse.  Sorry. Ermm

Chan
Chan
Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)Advanced StrataFrame User (701 reputation)
Group: Forum Members
Posts: 533, Visits: 2K
Hi,

If I want to add condition like this, how?



myCustomFIeld IN (SELECT MyField FROM myTable2)



Thank you
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search