Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Juggernaut

How to Master-Detail kind of layout?

Featured Replies

I am a VB.net developer against Access and SQL Server. I am using FM 9.0 Advanced (30 day trial).

One of my friend asked me to design a small system that needs to work on both MAC and PC.

To start with Customer/Contact side, i have designed the tables and added the relations between Customer to Contact as 1 to many.

I have managed to create a layout to customer and contact on its own. Now i need that same functionality on one screen?

How do i go about adding a new customer and adding many contacts to that customer?

Any help would be highly appreciated for a newbie for FM.

Mitesh

Welcome to the forum.

You would do that by adding a portal for Contacts to the Customers layout. Or, of course create a new layout "Customer Contacts" which ever is your preference.

hth

  • Author

thank you very much for you reply.

I would not mind any method, so would you be kind enough to give me links to any tutorial/websites for any or both the method.

It's the same method. I just meant that you may prefer to create a new layout to display both Customer and contact.

Go to Layout mode. Then click on Insert>Portal.

Chose Contacts table.

Add the fields you wish to display and the number of records to display within the portal.

Make sure you have chosen "Add/Create New records on the Contact side of the relationship Contacts table.

You can now add contacts on the customer layout.

See attached file.

hth

Client_Contacts_DB.zip

Edited by Guest

  • Author

thanks again, I have just tried with the portal and it works.

Any tips of how to get it working with Contact layout.

  • Author

thank you for your small application.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.