Newbies Hjalmar Hansen Posted January 10, 2002 Newbies Posted January 10, 2002 Im kindof a starter with Filemaker Pro 5.5 and i have the following problem. I dont know how to make from input put in checkboxes or radio buttons a numbercode in my list/report. Instead of yes/no, or few, average, many i would like to have in my reports a nr code like 0-1-2 etc. After a lot of frustration i finally gave up, i know there must be an easy solution for this. Can anyone help me with it? Thanks Hjalmar Hansen
Kurt Knippel Posted January 10, 2002 Posted January 10, 2002 code: Case ( RadioButtonField = Yes, 1, RadionButtonField = No, 0 ) or code: Case ( RadioButtonField = High, 1, RadionButtonField = Average, 2 RadionButtonField = Low, 3, 9 )
Newbies Hjalmar Hansen Posted January 14, 2002 Author Newbies Posted January 14, 2002 This advice helps me allready a little, but i still don't know how to use the values from the value list in this example. example: Diabetes type (this is a field) and in the radiobuttons i can choose between NIDDM and IDDM (non insulin dependend diabetes, and insulin dependend), i put these choices in the value list. In my report i want only to see 1 or 2, where do i have to put wcich calculation? If i try to put it in the new fields in my report, i somehow am told that NIDDM and IDDM are no fields (and that is right, they are value's) but the calculation wont work Thanks again!
Kurt Knippel Posted January 14, 2002 Posted January 14, 2002 If your choices are NIDDM and IDDM, but you want to see 1 & 2, then you define a new field as I showed above. This new field is the one that you put on the report. You also need to encase your choices in quotes so that Filemaker knows that they are text and not fields. code: Case ( RadioButtonField = "NIDDM", 1, RadionButtonField = "IDDM", 2 ) [ January 14, 2002: Message edited by: CaptKurt ]
Newbies Hjalmar Hansen Posted January 15, 2002 Author Newbies Posted January 15, 2002 Thanks a lot, yes it worked Hjalmar Hansen
Recommended Posts
This topic is 8455 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