I’m not sure whether this is a bug, but I can testify that it’s an issue. Currently, it’s the number one issue in the solution I’m developing. I’ve actually disabled the find in the production database (which thankfully doesn’t have much activity yet) until these issues are addressed.
I have a number of threads going on this topic already. I appreciate all the help I’ve gotten thus far on this (and other topics). I’m just bringing my whole ‘find’ issue together here. Don’t take my urgency as an indictment of Servoy, or the outstanding support I’ve gotten. Also, don’t assume anything below is a bug. Remember there’s a relative newbie at the keyboard.
All that being said, here we go:
-
I understand that method triggers aren’t supposed to go off in find. They do, though, in my solution. See thread Status(CurrentMode) - #13 by Cain - Classic Servoy - Servoy Community. onEditRecordStart, onNewRecordCmd, etc. trigger. Thing is, these methods aren’t meant to work in Find mode.
-
I also need to know how to capture that the user is in find mode. This is especially important if methods keep kicking off, but also so that I can indicate to the user that they’re not in the browse mode.
-
At this point, part of the problem may be that I can’t seem to follow the chain of events when I do a find myself, in the UI. See thread Find Issues? - Classic Servoy - Servoy Community. Even as a user, all Methods aside, I have trouble knowing whether I’m in find or not.
-
In a method, if I use the find() command on the current form, the method seems to stop, even though there are following commands to set a value and search(). Is this expected behavior? Should I just go to a separate form for any scripted searches?
-
Does anyone have a working example of a find routine? I need two things from a find routine: clear indicators for the user, and a clear indicator for methods. I’m sure someone has been through this before, and there must be a graceful solution, but none of the examples I have use anything but DEFAULT. The DEFAULT find would work if it were more obvious (and consistently shown) that the user is in Find and if Methods either could be disabled or could accurately branch when in Find mode.[/url]