find() not working Servoy 6

Discuss all problems you have with Servoy here. It might help to mention the Servoy version and Operating System version you are using

find() not working Servoy 6

Postby jb.maeterlinck » Thu Feb 16, 2012 3:07 pm

Seems the find() menu is broken in Servoy 6
In developer after entering a search string in a field entering return just jumps you to the next field.

Servoy 6.05, OSX 10.7, mySQL
jb.maeterlinck
 
Posts: 3
Joined: Mon Feb 13, 2012 7:19 pm

Re: find() not working Servoy 6

Postby Harjo » Sat Feb 18, 2012 11:33 am

and if you press F3?
Harjo Kompagnie
Direct ICT / Servoy Hosting / ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
User avatar
Harjo
 
Posts: 4064
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: find() not working Servoy 6

Postby jb.maeterlinck » Sat Feb 18, 2012 12:42 pm

Nope, I tried that
On a Mac, F3 launches another desktop view
<command>F put Servoy in find mode, but after entering a string in a field neither CR or Enter seems to initiate the search
BTW I am converting an old Servoy 2.2.8 app, that is how I discovered the problem
jb.maeterlinck
 
Posts: 3
Joined: Mon Feb 13, 2012 7:19 pm

Re: find() not working Servoy 6

Postby Andrei Costescu » Mon Feb 20, 2012 4:59 pm

Try that on a simple solution with just some fields on a table and see if it works.
Do you get any exceptions in the log when pressing Enter? What if you add a button for search (controller.search()); does that work?
Andrei Costescu
Servoy
Andrei Costescu
 
Posts: 687
Joined: Tue Jun 26, 2007 3:14 pm

Re: find() not working Servoy 6

Postby jb.maeterlinck » Tue Feb 21, 2012 9:51 am

OK, I tried with a small app and indeed it worked as it should.

I now try to understand why it is not working in the other app, there are no exceptions in the log, and there is a button on the form which initiate a find();

Can it be that the foundset is reduced to zero records for some reason just before the find() is initiated ?
jb.maeterlinck
 
Posts: 3
Joined: Mon Feb 13, 2012 7:19 pm

Re: find() not working Servoy 6

Postby Andrei Costescu » Tue Feb 21, 2012 10:31 am

Hard to tell without the solution... Try to gradually remove each supplementary thing the solution does to find the cause.
Check the onSearch command of your forms - it might be set.
Andrei Costescu
Servoy
Andrei Costescu
 
Posts: 687
Joined: Tue Jun 26, 2007 3:14 pm


Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest

cron