StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
»
Using the Seaching Browse Dialog event to filter by sub query
Using the Seaching Browse Dialog event to filter by sub query
Post Reply
Like
1
Using the Seaching Browse Dialog event to filter by sub query
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Govinda Berrio
Govinda Berrio
posted 11 Years Ago
ANSWER
Topic Details
Share Topic
Group: StrataFrame Users
Posts: 94,
Visits: 481
Hello all,
I am wondering if anyone can submit an example of using the BrowseDialogSearchingEventArgs.Tokens to add the results of a subquery.
The situation that I would like to handle is: the user is on an Orders screen and they want to search for an order with a particular Product in it. If I used a view for the Browse Dialog that joined Orders and OrderItems I would get multiple rows if I just searched by the Order ID. Since I only want to show a list of orders, I figure the solution would be to use a sub-query (SELECT OrderId FROM OrderItems WHERE OrderItems.item_id = ?).
From some other threads here and the description of the Tokens property, this should be possible. But I do not know where to start, so I was hoping someone could provide a simple example of using Tokens to inject the sub-query results into the Browse Dialog Search results processing.
Thank You,
Govinda
Tags
browse dialog
Reply
Like
1
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Using the Seaching Browse Dialog event to filter by sub query
Govinda Berrio
-
11 Years Ago
Hi Govinda. Maybe you could have 2 BrowseDialogs in your form. One...
Ivan George Borges
-
11 Years Ago
Post Reply
Like
1
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search