Thanks Aparajita, already started into this direction.
One problem with this solution is, A4D seems not to support the "order by formula" 4D command. Is this correct? What workarounds could I use to order by formula in A4D? Calling a 4D method which executes "order by formula"? Peter > Von: Aparajita Fishman <[email protected]> > Antworten an: Active4D Developer Discussion List > <[email protected]> > Datum: Sat, 24 Nov 2012 07:15:26 -0500 > An: Active4D Developer Discussion List <[email protected]> > Betreff: Re: [Active4d-dev] Rowset, Batches and Sorting - best practice > >> As this is probably a standard feature in most shopping cart applications, >> I'd like to ask, what approach others have used. I think there is a "best >> practice" to deal with it. Currently I tend to use 4D's order by before >> creating the rowset but maybe there are good reasons to do it a different >> way. > > The best practice is to use 4D's order by. For the reasons you mentioned, it > is the only approach that makes sense. And if you order on the server, that > allows you to subset the RowSet to the batch, which increases performance. > > Regards, > > Aparajita > www.aparajitaworld.com > > "If you dare to fail, you are bound to succeed." > - Sri Chinmoy | www.srichinmoy.org > > _______________________________________________ > Active4D-dev mailing list > [email protected] > http://list.aparajitaworld.com/listinfo/active4d-dev > Archives: http://active4d-nabble.aparajitaworld.com/ _______________________________________________ Active4D-dev mailing list [email protected] http://list.aparajitaworld.com/listinfo/active4d-dev Archives: http://active4d-nabble.aparajitaworld.com/
