This site uses cookies and similar technologies.

If you don't change browser settings, you agree to it.

I understand
226 Posts
Giuse
5 days ago
0
Topic

Hi, when using a List Type, it is sometimes needed to have a field or variable that is shared across the items in the list. For example a list of products and one of the field is the price in a specific currency, where the conversion rate is stored in the DB.

Of course we can add a new field to the list that reads from the DB the rate but it's not efficient since it will make the exact same query for all the items in the list just to retrieve the same value.

So my question is: how to set up a value that can be referenced by all items in the list (excluding to put it in the URL that is not very nice)? I tried to add a field in the Search Form but it seems as fields in the List View cannot read values from the Search Form, am I wrong or is there any other method?

thanks a lot!

Giuse

Get a Book for SEBLOD