Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

Must show specific record from Related Table


This topic is 6090 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted (edited)

Hi Guys,

I have two tables related to each other. On the first layout shows records from (table1) I have a portal(table2) also. What i want to do is make a report second layout shows records from (Table1) and show a specific record from (table2).

ex. one person many licenses

Table1

--------

person1

Table2

-------

License1

License2

License3

Report-----

Name | License

------ --------

person1 | License2

I hope you can understand what i'm trying to explain.

Thanks

test.fp7.zip

Edited by Guest
added a sample file
Posted

How would it know which specific license to use?

I would probably store the primary ID of the license in a field called deafult.

Table1

--------

pk_PersonID

fk_LicenseID_main

person

Table2

-------

pk_LicenseID

License

Then with another Table Occurrence keyed on fk_LicenseID_main <---> pk_LicenseID you would have a report of all the people with their selected "main" licenses.

Posted

I'm having a hard time explaining it so heres a sample file hope you look at it.

I do not know if i have to make a calculation field for each date to i can put it in the report layout?

thanks again

test.fp7.zip

Posted (edited)

Ah ok. Your report should be based off your licenses table. Reports are based off your found set, so if you find the records with the specific criteria that you are looking for then you will get what you want.

Go to layout ["report" (licenses)]

Enter Find Mode []

SEt Field [description; "PHILIPPINE"]

Perform Find []

Enter Preview Mode []

* Edit - Pending if you wanted the report for all Seaman.

Edited by Guest
Posted

SORRY ADDITIONAL

WHAT IF I WANT 2 THINGS TO SHOW UP HOW WILL I PUT

THE FIELDS TO THE REPORT

Go to layout ["report" (licenses)]

Enter Find Mode []

SEt Field [description; "PHILIPPINE"]

[color:red]SEt Field [description; "US VISA"]

Perform Find []

Enter Preview Mode []

WRONG DATA ARE SHOWING

THANKS

test.fp7_2.zip

Posted

Go to layout ["report" (licenses)]

Enter Find Mode []

Set Field [description; "PHILIPPINE"]

[color:blue]New Record/Request []

Set Field [description; "US VISA"]

Perform Find []

Enter Preview Mode []

Posted

Also I suggest you take a look at this thread.

http://fmforums.com/forum/showtopic.php?tid/195401/

This topic is 6090 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.