tmas73 Posted June 24, 2006 Posted June 24, 2006 Is it possible to have one picture calculation from two different fields at the same time? GetRepetition(Color_Images;Case(Color_Choose = "None"; 1; Color_Choose = "Red"; 2; Color_Choose = "Orange"; 3; Color_Choose = "Yellow"; 4; Color_Choose = "Green"; 5;Color_Choose = "Blue"; 6;Color_Choose = "Purple"; 7;Color_Choose = "Gray"; 8;)) First field = Color_Choose (Colors see above) Second Field = Category = (Web Site, Email...) How should the calculation look like in this case? Thanks TMAS
Raybaudi Posted June 24, 2006 Posted June 24, 2006 What must be the result ? Can you make an example ? Can you send a pict of what you wish ?
tmas73 Posted June 24, 2006 Author Posted June 24, 2006 Here a sample, hope that helps! ChooseColor.fp7.zip
Raybaudi Posted June 24, 2006 Posted June 24, 2006 OK Try this one. BTW: Remember that the way we had choosed for the little button can crash FM8 on a windows platform. Re-read the previous your Topic for another way to solve this problem. ChooseColorREV2.zip
tmas73 Posted June 25, 2006 Author Posted June 25, 2006 Great so would this work the same way with your secont version of the other topic! I also get a error in the script
Genx Posted June 25, 2006 Posted June 25, 2006 You need to have Event Script plugin installed in your fm extensions folder. Look at daniele's link to Topic. ~Genx
tmas73 Posted June 25, 2006 Author Posted June 25, 2006 (edited) Never mind the field missing thing! But is it possible with this plug in combined? Like have the last file you uploaded but with the plug in solution? TMAS Edited June 25, 2006 by Guest
Raybaudi Posted June 25, 2006 Posted June 25, 2006 Have you installed that plugin ? It's a MUST for many other things ! If SO, you can try this ChooseColorREV3.zip
tmas73 Posted June 25, 2006 Author Posted June 25, 2006 Thanks for the solution! I try to re create the same steps in my full solution but I'm getting "?" letters after the text fields Category and Color. I checked a few times and compared them but it wont work something happends! I stripped down my solution and only left yours (see attac hement). Now the Category works but not the Color_Choose. This is the same calc like in my non stripped down version. Non Stripped down version I'll get on both fields "?" in the stripped down version I only get a ? on the color field. TMAS Error.fp7.zip
Raybaudi Posted June 25, 2006 Posted June 25, 2006 OK I found it ! Simply rename the valueList: Color_Choose ( not Choose_Color)
tmas73 Posted June 26, 2006 Author Posted June 26, 2006 Cool thanks. There must be a problem in my solution some field or script influencing your calculation. i deleted all my unused fields and scripts and then your solution works just fine. Do you think any fields or calculation of others can influence your script?
Raybaudi Posted June 26, 2006 Posted June 26, 2006 Do you think any fields or calculation of others can influence your script? I don't think so but... never say never
tmas73 Posted July 1, 2006 Author Posted July 1, 2006 Hey sorry me again, i was playing around and I cant figure out why it wont work! I created a new file imported all your things connected them and only the category is working! Could you please take one more look at the file? Thank You! notworkin.fp7.zip
Raybaudi Posted July 1, 2006 Posted July 1, 2006 Ok same error: the list MUST have the same name of the field ( in this case ). So, not Color_Choose, but [color:red]ColorChoose workin.zip
tmas73 Posted July 1, 2006 Author Posted July 1, 2006 Someone shoot me! Sorry, this was bugging me and I had a container field mistake in the main solution, and now this one came back....totally confused! Working now! Thanks so much! Grazie
tmas73 Posted July 1, 2006 Author Posted July 1, 2006 (edited) Opps one more question, if a user wants to edit or move the value list around will it screw up? Does it calculate by value position or by entrys like "Web Site" thanks t Just noticed when a user adds a custom value list it will display ? Any work around that? Edited July 1, 2006 by Guest Noticed one more thing!
Recommended Posts
This topic is 6782 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