How do I link a City field so that when I click a city, all the associated names to that city populate the dropdown menu in another provided field? - relationship

On FileMaker Pro,
I made a field for list of Cities into a dropdown menu.
I also made another field in the form of a dropdown menu for Names associated to the Cities in the dropdown menu field above it.
When I pick a City, all the Names associated to that selected City should populate the drop down menu in the Names field.
How can I implements this on FileMaker Pro?

You need to create a conditional value list. You'll find complete instructions here, but basically you'll set up a relationship between the cities and the names based on the City and set up a value list based on the Name field with the option to "Include only related values starting from" and specify the relationship between the two (step 12 in the instructions).

Related

MSAccess populate multiple fields with a single pulldown

Challenge: I've created a simple repository in MSACCESS (#1) that displays one or more owners of a corporate server.
The sub-form "asset-owners" is linked to the corp-assets main-form (#2). I've added a pulldown whereby the user can select a name (#3) from the address_book (#4) table and prepopulate the owners sub-form.
Objective: I would like to auto populate the associated "Occupation", "Favorite Food", and "Favorite Movie" fields when the user selects a name from the pulldown (#5).
I am not exactly sure how I should configure the occupation food and movie fields to auto-populate with such data AFTER the user has selected the name. I was thinking an inline query for each field, but I suspect it may be simpler than that.
Note: occupation, food, and movie data comes from the address_book (#4).
Many thanks!
I hope you don't want to repeat data in another table. If you just want to display the related data, options:
create multi-column combobox then expression in textbox references combobox column by index - index begins with 0 =[comboboxname].Column(1)
include lookup table in form RecordSource and bind textboxes to fields - set them Locked Yes and TabStop No
DLookup() expression in textbox.

How to create a form with option to add additional combo boxes?

I am working on a fairly basic database for my work of various companies in the region and I'm not really experienced in Microsoft Access. I'm trying to make a form where the user can add additional fields such as a combo box to the form.
Example: They enter the company name and then select the province and then the city, but that company also operates in other cities in a different province.
How would I create something like this? Or am I going all wrong about this?
Currently I have a dual multi-select combo box, in which the user can select multiple provinces and cities.
Current Form
Companies Table
Cities Table
Provinces Table
Relationships

Populate shuttle based on drop down list in ADF

I have a mini work in ADF in which I am required to create a form. One input in the form is continent which is a drop down list of various continent.
There is another input(shuttle) with country names. Suppose the user chooses ASIA from drop down list of continent, then the below shuttle should get populated with countries from ASIA.
How can I achieve that in ADF?
You have to add a view criteria on your shuttle VO filtering by ContinentId:
Make sure you include your bind variable accessors on your VOImpl:
And also make sure that you apply your view criteria on your application module:
Then follow this steps:
That way you will finally your shuttle filtered:
Basically you want to filter out your countries based on Continent so for that apply a view criteria(based on Continent) on your VO (which is used by your shuttle input).

Filemaker dropdown not working

I've created a dropdown box in layout mode of filemaker and specified a field to pull in. However the box is remaining blank and not pulling in any of the information from the field in the table. What can have been missed for this to happen?
Most probably it is the problem with the value list set up or the relationship you are using to pull in the data for your drop-down.
If you are using a value list from a related data, place a portal based on the same relationship on the same layout and see if data comes through. If it does not - resolve your relationship first.
If you are pulling all values from a field in the same table, make sure in the value list setup you select the same relationship as the one the layout based on, the target field is selected and "Include all values" option is checked

How to programmatically get all nodes which are related to the specific term ID?

What I want to do?
I want to display all categories in first drop down and in second all titles of related nodes with the selected category.
To get that I have mentioned all the tasks I have done. Please read below.
Created taxonomy named category with terms listed Laptop, Car, Mobile etc.
Content type named product with fields title, description, category etc. The category field uses term reference of category taxonomy.
Created a form with WebForm with fields named category and productas drop down
First, categories drop down field, displayed all categories (Laptop, Car, Mobile) by using WebForm Term Options.
Second, product drop down field is empty yet.
I have used hook_form_FORM_ID_alter() hook to alter the webForm I created. I have found the solution to get all the nodes pragmatically those are related with specific taxonomy term ID.
My first question is how to display all these nodes' titles in existing drop down field?
Another question is on category change, products must be change according to its nodes like ajax?
I asked the same question on Drupal Stack Exchange. Here is the solution
https://drupal.stackexchange.com/questions/225840/how-to-programmatically-get-all-nodes-which-are-related-to-the-specific-term-id/225855?noredirect=1#225855

Resources