How can limit list of 'Ref' type fields?

Oran_M
New Member

When Field with โ€˜Refโ€™ type shows dropdown list from related table, how to limit the list for certain value or condition set by another Field ? for example, I need a list of Benzene Oil for Benzene car and Deisel Oil for Deisel Car from table [Fuel] for โ€˜Refโ€™ [_THIS].[FuelID] after selecting โ€˜Refโ€™ [_THIS].[Car] which contains [Fuel].[FuelType] = [_THIS].[Car].[CarFuelType].

Solved Solved
0 4 383
1 ACCEPTED SOLUTION

Steve
Platinum 4
Platinum 4

View solution in original post

4 REPLIES 4

This is part of a more complex expression but works.It selects Team based on Teams under the selected Department, which is also Ref field.

In the ValidIf for Team:
SELECT(TEAM[TEAM_NO],AND([DPT_NO]=[_THISROW].[DPT_NO]))

Note: I just quickly pulled it out of the much more complex expression. I think the closing parenthesis are correct but havenโ€™t tested.

I found the same solution so far, but the field has to be set in โ€˜Textโ€™.
But โ€˜Refโ€™ is really useful for further reference in other UXs, in my opinion.
Iโ€™ll update again when I can have it

Anyway, thank you so much for your reply.

Both fields are REF type.


Steve
Platinum 4
Platinum 4
Top Labels in this Space