This works with UV, and not the SQL solution. However, I did find if you need to do a sorted select, you first have to do the select then a second select to pull the rows / pages
SELECT CLIENT WITH NAME LIKE "A..." SELECT CLIENT WITH PAGE = 4 SELECT CLIENT WITH NAME LIKE "A..." AND WITH PAGE = 4 WILL NOT WORK CORRECTLY I'm making the assumption that the @1 trick works in Pick flavor, as I'm using Information flavor. George > -----Original Message----- > From: [email protected] [mailto:u2-users- > [email protected]] On Behalf Of Chris Austin > Sent: Wednesday, July 20, 2011 4:34 PM > To: [email protected] > Subject: Re: [U2] SELECT question, paginated select. > > > George, > > Is the dictionary change below used for the SQL solution you mentioned? > In other words, do I have to add this to use the SQL queries > to paginate it based on row? Or is this a trick to use a UniVerse > SELECT? > > Chris > > > > From: [email protected] > > To: [email protected] > > Date: Wed, 20 Jul 2011 15:22:44 -0500 > > Subject: Re: [U2] SELECT question, paginated select. > > > > OK. Try this.... > > > > ED DICT CLIENT ROW > > 0001: I > > 0002: @1+1 > > 0003: > > 0004: ROW > > 0005: 5R > > > > Now, you can SELECT CLIENT WITH ..... AND WITH ROW >=1 AND ROW <=20 > > > > As long as the selection stays the same, This "should" work. > > > > George > > > > > -----Original Message----- > > > From: [email protected] [mailto:u2-users- > > > [email protected]] On Behalf Of Chris Austin > > > Sent: Wednesday, July 20, 2011 1:15 PM > > > To: [email protected] > > > Subject: [U2] SELECT question, paginated select. > > > > > > > > > I'm working on a screen in our webapp where we're using a dojo > widjet > > > to create a drop down with client names. The problem > > > is that we have 1,000's of clients and when we do a SELECT on this > many > > > clients it takes a while. I know we can index the field but > > > I was wondering if you can do smart selecting in UniVerse. > > > > > > For example if I wanted to use this query: > > > > > > SELECT CLIENT WITH @ID = "A]" SAMPLE 10 (returns 10 clients > starting > > > with the letter A). > > > > > > I want to paginate my drop down so the first query has the above > data. > > > The problem I'm facing is that I don't know how to > > > get the NEXT 10 clients? Is there a way to do this? > > > > > > For example if I wanted to return the next 10 CLIENTS, without > > > including any of the first 10. > > > > > > Chris > > > > > > > > > > > > _______________________________________________ > > > U2-Users mailing list > > > [email protected] > > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > _______________________________________________ > > U2-Users mailing list > > [email protected] > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > _______________________________________________ > U2-Users mailing list > [email protected] > http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users
