cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CurtJanus
Level: Powered On

Editform item filter on Dropdown of related entity

Scenario:

 

On a single Screen...

 

Dropdown box or Combo box of Dog names from my tblDogs entity.

   Search field - DogID autonumber field? tblDogs field with the long string of charactors?

 

Editform1 of Dog details also from tblDog entity.

 

Editform2 of Dog Walks of the related entity, tblDogWalks. Related as Many-to-One by field XdogidX. A name that's easy to find.

 

I'm able to create records and keep them synced using Relate and LastSubmit.

 

Everything I see describes how to use a Gallery's ThisItem.Selected for Item in the EditForm and from the same entity.

 

So, when I select "Fido" from the DropdownBox or ComboBox, not a Gallery, how do I get the related records in both EditForms? The One Dog in EditForm1 and the Many DogWalks in EditForm2?

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
CurtJanus
Level: Powered On

Re: Editform item filter on Dropdown of related entity

Figured it out...

 

LookUp(tblDogWalks, XdogidX.DogID = cbbDogs.Selected.DogID)

 

with the DataSource being tblDogWalks

 

Works perfect!

 

2 REPLIES 2
CurtJanus
Level: Powered On

Re: Editform item filter on Dropdown of related entity

Figured it out...

 

LookUp(tblDogWalks, XdogidX.DogID = cbbDogs.Selected.DogID)

 

with the DataSource being tblDogWalks

 

Works perfect!

 

CurtJanus
Level: Powered On

Re: Editform item filter on Dropdown of related entity

perfectly

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 175 members 4,916 guests
Please welcome our newest community members: