Two Dependant Dropdowns from two tables in one Form

SG1
Bronze 3
Bronze 3

I'm building an App to record appointments at hospitals for a charity helping children needing surgery.

In the appointments form (see below), I need the hospital staff and hospital service validation to depend on the hospital chosen. When a hospital is chosen, only staff and services related to that hospital should show up on the validaton list. 

In the Appointments table the ValidIF of the Hospital Key is Hospital Staff[Hospital] and the ValidIF of the Hpspital Staff Key is Hospital Staff[Hospital Staff Key] and that works perfectly. The problem is how to do a similar validation in the Hospital Service Key using the Hospital Key chosen.

SG1_5-1677012339562.png

 

These are the 5 tables.

SG1_0-1677009942681.png

SG1_1-1677010046663.png

SG1_2-1677010181775.png

SG1_3-1677011397324.png

SG1_4-1677011786862.png

Many thanks in advance for your help.

Solved Solved
0 2 97
1 ACCEPTED SOLUTION

2 REPLIES 2

SG1
Bronze 3
Bronze 3

Used this in ValidIF. It worked Marc. Thanks a million

SELECT(Hospital Services[Hospital Service Key], ([Hospital] = [_THISROW].[Hospital Key]))

Top Labels in this Space