BrowseDialog - Adding a WHERE clause


Author
Message
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
Yup.  In the most recent version of the BrowseDialog in the latest update, you can go at this two different ways.  There are two new properties called OverrideSearchTableName and OverrideSearchTableSchema which allows an alternate table or view to be used instead of the underlying BO table name.  This allows you to get as flexible as you would like.  You can also create place holders for inline queries, which is a bit more involved and is really intended for the purposes of the return columns.  But I would take the view approach as it is the most simple to implement.
Aaron Young
Aaron Young
StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)
Group: StrataFrame Users
Posts: 277, Visits: 1.1K
Hi,



I know you can add a custom WHERE clause in a BrowseDialog's Searching event when you know the specific values, ie.



WHERE my_Car IN (0,1,2)



But can you do this?



WHERE my_Car IN (SELECT carid FROM myCars)



Is this possible?



Thanks,



Aaron
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