FaeryHigh Posted July 12, 2007 Posted July 12, 2007 Is if possible to have 2 value lists available to one field? If Field 1 = Cats Then field 2 = Cat Value List If Field 1 = Dogs Then field 2 = Dog Value List
Brett W Posted July 12, 2007 Posted July 12, 2007 (edited) Hi here, not really two value list but the values related to both types. Set up a single value list that relates to the other table through a relationship set up to the type of animal. an easy set up is to use either dog or cat as a primary and foreign key. then, depending on the type, the related names will appear on the valuelist. check out the attached file. test.fp7.zip Edited July 12, 2007 by Guest
Brett W Posted July 12, 2007 Posted July 12, 2007 (edited) sorry about that, just edited the message and added the file. im not sure if this is the answer you were looking for. this method is relying on using a table as records (items) for the value list. Edited July 12, 2007 by Guest explanation
FaeryHigh Posted July 12, 2007 Author Posted July 12, 2007 Alright, everything appears to be set up correctly. However the selection is listing the appropriate names, but when I click on them I'm still getting the animal. Is there some small detail I have over looked? i.e. selecting "poodle" shows up as "dog"
Brett W Posted July 12, 2007 Posted July 12, 2007 make sure that the field you have set to use the value list is a local field to that table, no a referenced field from the value list table. sounds like you are referencing the key field on your layout. did the example help?
FaeryHigh Posted July 12, 2007 Author Posted July 12, 2007 The example was very helpful, but as the file was non modifiable I couldn't go in and pick it apart. I'm still trying to work through it. Could you clarify a little more on local?
Brett W Posted July 13, 2007 Posted July 13, 2007 sorry again, i have adjusted the read/write on the file. What I mean by local is the field that you want to store the value in is local to the table and not the value list table. test.fp7.zip
Recommended Posts
This topic is 6343 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