Creek Posted July 12, 2012 Posted July 12, 2012 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?
doughemi Posted July 13, 2012 Posted July 13, 2012 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 1
Creek Posted July 13, 2012 Author Posted July 13, 2012 Exactly what I was looking for. Thank you very much for your help.
Recommended Posts
This topic is 4516 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 accountSign in
Already have an account? Sign in here.
Sign In Now