pablor Posted February 17, 2002 Posted February 17, 2002 Hello: I am working on a "game" using Filemaker Pro 4.0 but I reached a point where I am stuck. I have Field "A" with 2 options in a pull down menu ( 1 and 2) and another field "B" with other 2 options in other pull down menu (3 and 4). When the user selects one option in A and then one option in B, the value of a variable increases by 1. Different combinations of selections in A and B increase different variables. Example: User selects A2 then User selects B3 variable "change" changes from 0 to 1. Clear the screen from previous selections User selects A2 then User selects B3 variable "change" changes from 1 to 2. clear the screen from previous selections then User selects A1 then User selects B3 the variable "Jump" changes from 0 to 1. I have been trying for a couple of days with no luck!! Any help would be really appreciated Thanks in advance Pablor FileMaker Pro 4.0 [ February 16, 2002, 11:32 PM: Message edited by: pablor ]
danjacoby Posted February 17, 2002 Posted February 17, 2002 Add a button for the user to click that resets the variable.
pablor Posted February 17, 2002 Author Posted February 17, 2002 Thank you for replying but could you give me some advice regarding the counter (how to increase the value of a variable after selecting some options in two fields?). I have tried using conditionals in the field and in the scripts but nothing has worked Thank you again Pablo
Chuck Posted February 19, 2002 Posted February 19, 2002 Here's a script that would handle what you've outlined. If [ A = 2 and B = 3 ]
pablor Posted February 20, 2002 Author Posted February 20, 2002 Thank you for your post: I tried the script but the "change" and "jump" fields don't count(0,1,2; I can't even see any number in the field) after making the selections in fields A and B. Any ideas Pablo
Chuck Posted February 20, 2002 Posted February 20, 2002 Have the change and jump fields been defined as number fields? Chuck
Recommended Posts
This topic is 8316 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