Newbies ace_bird_dog Posted November 3, 2004 Newbies Posted November 3, 2004 After reviewing many posts here, I now understand the limitations to using repeating fields, I'll know better next time. I have been banging my head against my monitor all day trying to figure this out, please help. I have three repeating fields that represent information about a product: Item #, description and color. I need a global field to display what the Item # is for that line regardless if the current active field is Item #, description OR color. Thanks a ton.
-Queue- Posted November 3, 2004 Posted November 3, 2004 You can't do this with a global, unless you put transparent buttons over each repetition that trigger a script to set it with the current repetition's item number. In this case you would need 15 scripts, one for each field, to Set Field [global, GetRepetition( Item#, {therep} )] Go to Field [whateverfield-{therep}] where {therep} is the hard-coded number for that repetition. This will require disallowing access to the field, which means you will only be able to click on a button to enter a particular field's repetition and not tab through them.
Newbies ace_bird_dog Posted November 3, 2004 Author Newbies Posted November 3, 2004 I had that as a test scenario but ultimately ruled it out for being too ugly and I need tab access to the fields for data entry. In the real database, I have 30 repetitions of the fields so I'd need 90 scripts. If I were to use something other than a global, would that work?
-Queue- Posted November 3, 2004 Posted November 3, 2004 Nope. A calculation using Status(CurrentRepetitionNumber) wouldn't recalculate until you exited the record, so it would be useless. Your best option is to convert your repeating field solution to a relational one.
Recommended Posts
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