cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

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
Highlighted
Frequent Visitor

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!

 

View solution in original post

2 REPLIES 2
Highlighted
Frequent Visitor

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!

 

View solution in original post

Highlighted
Frequent Visitor

Re: Editform item filter on Dropdown of related entity

perfectly

Helpful resources

Announcements
Check this Out

Announcing

Class of 2020- Season 2

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (8,295)