fantasmamore Posted February 1, 2012 Posted February 1, 2012 Hi to all, I am pretty new in creating databases, so I ask for your patience. English is not my native language, so I may do few mistakes. I ask for your patience I am creating a database. What I want is to create a dropdown list with three choises. When a user selects, lets say "Option A" I want a specific image (such as image-a.jpg) to appear in a certain field. When he chooses "option B" another image (image-b.jpg) should be "attached" in this particular field and so on. What are the steps that I have to follow? Please try to be as specific as possible! Thank you very much for your help! George
Raybaudi Posted February 1, 2012 Posted February 1, 2012 Hi 1) create a new repeating global container field with 3 repetitions ( name it: images ) 2) while in Browse mode insert, into each repetition, your images. 3) create a calculation, result type container, with this calc: Case( YourDropDownField = "Option A" ; images[1] ; YourDropDownField = "Option B" ; images[2] ; YourDropDownField = "Option C" ; images[3] ) Note that: a ) the repeating global container could stay into another table, even not related. b ) YourDropDownField is the name of your current field, formatted as a drop down list.
fantasmamore Posted February 1, 2012 Author Posted February 1, 2012 I did all that you mentioned (thank you very very much!!!) but when I create a new record, fields images[1], images[2] and images[3] remain blanc. The same for the field "result". What did I do wrong? (Where "result" is the calculation field)
Raybaudi Posted February 1, 2012 Posted February 1, 2012 ... you didn't make the repetition field "global". To make it global, check the Storage option for that field.
Recommended Posts
This topic is 5029 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