Hi all,
First post on the forum- so far really enjoying Aware IM. I will probably have a few questions over the next few weeks… First one:
I am running a query for a BO. In that BO I have a relationship field (multiple allowed) to select staff members allocated. I would like to filter the query by a staff member. e.g. see all objects that have “Bob” & “Fred” allocated.
As far as I know, this would be easy if it was a text field, as the inbuilt query filtering would work? But this doesn't really fit my need.
This is what I have tried, not really knowing if its the best way to do it:
- Set up form in the LoggedInRegular User and made a swap select to choose staff.
- Made a process to find that form for the selected user
(FIND RegularUser WHERE RegularUser=LoggedInRegularUser
View form)
- Put in the query BO.Staff=LoggedInRegularUser.StaffFilter
- Select which staff I want to filter in the form
When I run the query, it returns nothing. I assume its something to do with the comparison between two relationship fields, but I'm not sure!