[Gambas-user] MP | Re: Question about gb.db

Werner wdahn at ...1000...
Sat Aug 15 09:48:33 CEST 2009


Jean-Yves F. Barbier wrote:
> Werner a écrit :
>   
>> Charlie Reinl wrote:
>>     
>>> Salut,
>>>
>>> till now I use the Request part in $hConn.Find to set my sorting 
>>> "Order by"
>>> Is there a better/easier way, which I ignore ?
>>>
>>> Hope you have solutions.
>>>
>>> for gambas2 (2.15.2)
>>>
>>>   
>>>       
>> I do that, too. My records are only  a  few thousands  so it works 
>> well.  Typically,  I put the  retrieved  data  in  a  columnview  or
>> similar  widget and let the user can then sort it to some other criteria.
>> My view is that the software closest to the data knows best how to sort it.
>>
>> Amicalement
>> Werner
>>     
>
> Hi Werner,
>
> Have you got some code using this PLS?
>
> At this time I only use Qt DataSource, but as soon as I'll have to
> return only some rows, I'll need this kinda code; and there's not very
> much of this in examples.
>
> Thanks,
> JY
>
>   
I only do what amounts to SELECT * FROM etc

because the data fields are small. It would be different with blobs.


Regards
Werner





More information about the User mailing list