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.

Auto Populate Fields based on Value List selection

Featured Replies

Hi all,

I am relatively new to filemaker, and would really appreciate some help!

In searching the net, I came across a topic here which replicates the functionality I want, but I have no idea how come it works for them and when I try, not for me.

(located here: http://fmforums.com/forum/topic/74977-value-list-auto-complete-with-calculation-field/)

I'm trying to have a field "Company Name" where I choose a value from a drop down list, and then right underneath it, the "Office Name" will automatically update.

They are situated in two tables (Company and Office, respectively) and are related by an ID.

I don't know what I'm doing wrong, any help would be appreciated.

Thanks in advance

I'm trying to have a field "Company Name" where I choose a value from a drop down list, and then right underneath it, the "Office Name" will automatically update.

They are situated in two tables (Company and Office, respectively) and are related by an ID.

Related by an ID of what? Does one company have many offices, or is it the other way round?

  • Author

Related by an ID of what? Does one company have many offices, or is it the other way round?

A company can have many offices, in different locations, and the like.

if it's easier for you to just explain how this file from the post linked in my first post, I'd really love that

I'll attach the kind of thing I just don't understand how it works. I guess ignore the visible/invisible thing, the old post had something going on with that I don't need and I don't think affects the functions I'm concerned with.

Also I don't know how the portal comes into all this (there's a portal where the full name is sitting)

Thanks

-Lil

FindVL-2 in Portal Copy.zip

The file you have attached is different from the file in the other thread. The file in the other thread works by performing a find when the gSearchFiled is modified. There are no portals or relationships. The file you have attached ... well, I don't quite know what to say about it.

In any case, I don't see how either relates to what you said:

I'm trying to have a field "Company Name" where I choose a value from a drop down list, and then right underneath it, the "Office Name" will automatically update.

If a company can have many offices, then which one of them do you expect to appear after you have selected the company?

  • Author

I've jolly well confused myself, I need to go away and think about what I'm doing. All I wanted to do was select a company/office combo from a list, and have that data pop up in the fields.

Thanks for replying, if nothing else it's made me realise I'm not on top of everything atm.

All I wanted to do was select a company/office combo from a list, and have that data pop up in the fields.

That should be very easy. You need to define two value lists, one of (all) Companies, and one of Offices (showing only related values, based on the selected company).

Once you have selected the office (or more correctly, the OfficeID), you can fetch its data through a relationship.

Search the forums for 'conditional value list' - you should find plenty of examples.

  • Author

Once you have selected the office (or more correctly, the OfficeID), you can fetch its data through a relationship.

Hey thanks for getting back so quick on all this, can I ask, how exactly is the data fetched through the relationship? Is this meant to happen automatically?

In this case, you would simply place fields from the related table (Offices) on the layout.

  • Author

Thanks for all your help, and thank you for being so patient with me, I know it can be hard :P

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.