Jump to content

Value List - (selected values)


Creek

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

Recommended Posts

There is a table with three columns: ID, CODE, TYPE. ID – number (serial number), CODE – text (unique name), TYPE– text: ("Type A" or "Type B")

The aim is to create a value list based on the records from the table, where TYPE is “Type A” only. How to do it?

Link to comment
Share on other sites

1. Create a new global field gType.

2. Create a new Table Occurrence of your table named newTO

3. Relate the new TO by the relationship YourTable::gType = newTO::TYPE

4. Create a new value list(Use Values from newTO::CODE, include only related values starting from YourTable)// Assuming the values you want to see in your VL are the Code values

5. Set Field(YourTable::gType; "Type A") either manually or by script

  • Like 1
Link to comment
Share on other sites

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