September 30, 200322 yr i have a loop which checks what field the user is currently typing in so that when the user enters a certain field, a different script begins to execute. this all works perfectly except for one minor problem. When the user types slowly in large text fields, the script is fine, however, if the user types quickly, periodically filemaker beeps as if there were an error and skips over the letter that the user had just typed. This is a problem since most of the users who will be using this database in my company will need to be typing quickly so that the data can be entered efficiently and promptly. I have a pause set for a duration of 2 seconds because i was getting less beeps with that rather than 1 second. is there something i can do to minimize this nussance further?
September 30, 200322 yr you could look into an events plugin that can execute scripts when they leave a field, as opposed to trying to pause a script for a timeframe. www.wmotion.com www.troi.com www.cnsplug-ins.com
October 1, 200322 yr your loop should be something like this: loop ___pause 2 sec ___test end loop the more time filemaker spends time performing the "test" the more probable is that it will beep while the user types. if the "test" is just testing which field is the user typing in, then there is nothing more to optimize. But if you are performing other operations I would suggest you to optimize.
October 1, 200322 yr Author my script looks exactly like that loop pause 2 seconds if statment checking fieldname using Status(currentfieldname) perform script only if 'if=true' exit loop if 'if=true' end if end loop the problem only occurs when the user types quickly
Create an account or sign in to comment