Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Tarun Kumar
12
Views
1
Comments
How to Search from multiple actors
Question
Logic
i want to implement searching
Whenever a user Wants to search a record from a actor record if he wants to add another actor he should click + ,now the record that is too be shown from a record show contains all the movies that the two actors are in
Does any 1 know how to implement it .
Actor table is child table of main table
i want to implement searching on Multiple Actors
Kilian Hekhuis
MVP
Tarun,
It depends on your implementation. If the user clicks the "+" and searches for an actor, do you retrieve the actor's Id (in the database)? If so, you could create an advanced query with an "Expand Inline" parameter that contains a comma seperated list of the actor Ids. In the query, you do something like:
SELECT {Movie}.*
FROM {Movie}
INNER JOIN {MovieActorLink} ON {MovieActorLink}.[MovieId] = {Movie}.[Id]
AND {MovieActorLink}.[ActorId] IN (@ActorIds)
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...