Jump to content

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

Recommended Posts

Posted

Help. Related field as a dropdown list on web.

I have a fm db with two fields color, code. This db is related to another 'all', by color. the all db has multiple records with many colors and each color contains several codes. On the original db I type a color and then the code by pull down list I want to see the desinagted code. It works on the client by relating the db using the values from field from related db.

ex.

red, 1, 4, 5

white 2, 5, 7

you select red, then values for red should be 1 4 5.

if select white then values for white.

I have multiple colors and multiple codes per color.

Help needed to accomplish this on web.

Posted

You can achieve this in one of two ways.

1. Preload all of the values into Javascript Arrays so that the dropdown changes are very fast.

2. Each time a change is made in the colour the FM database is accessed and the page/dropdown are reloaded.

Good Luck.

Garry

Posted

Hello Garry,

How can I accopmlish this with javascript. I am new.

I have two db, second db color_code contains all colors with multiple codes per color.

Colors.fp5

color

code

Color_code.fp5

color

code

Any help, is very much appreciated...

colors_code.zip

This topic is 7549 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.