Jump to content

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

Recommended Posts

Posted

Hi...

I need help with the following....

My database consists of Carbrands and Types. In FMpro I have made an pop-up list for the Type field which only shows the corresponding Types based on the chosen Brand in the first field. (determined by relationship) I don't know how to make this happen in CDML. I suppose I have to submit a value to fill in the Brand field.

so if anyone can help me with providing me with this "TAG" or an link to a site with such an example. I'd really appreciate it.

Thanks

Tianshi

Posted

Tian,

You have a couple of options to solve the first problem, i.e. Related ValueLists.

One to consider, is the use of [FMP-InlineAction] functions to populate the ValueList directly from the related file.

The second problem is to populate Pop-ups with related values when the Main ValueList (Pop-up) is changed.

For a Dynamic ValueList you need to decide between, acessing the database each time the Main ValueList is changed, or loading the values into Javascript Arrays, then using Javascript to change the dependent ValueList (Pop-up) each time a change is made.

Hope this helps.

Garry

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