Zeos append/post and re-ordering

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
gto
Zeos Dev Team
Zeos Dev Team
Posts: 278
Joined: 11.11.2005, 18:35
Location: Porto Alegre / Brasil

Zeos append/post and re-ordering

Post by gto »

Hello there!
Is there a way to append a record to an ordered query (something like select * from costumers order by number, where number is also primary key), fill the record with a value that will be in the middle of the result (if you have numbers 1, 2, 4 and 5 already on database, then you post the 3) and expect that this query will be re-ordered, that when users post and click next at the DbNavigator, the next record will be the 4?

Ugh, dunno if it was unclear, ask if it does hehh

thanks :)
Use the FU!!!!!IN Google !

gto's Zeos Quick Start Guide

Te Amo Taís!
btrewern
Expert Boarder
Expert Boarder
Posts: 193
Joined: 06.10.2005, 18:51

Post by btrewern »

Does this work if you do the ordering in the dataset?

Try setting to SortedFields to the field you want to order by.

Hope this helps.

Regards,

Ben
gto
Zeos Dev Team
Zeos Dev Team
Posts: 278
Joined: 11.11.2005, 18:35
Location: Porto Alegre / Brasil

Post by gto »

Works like a charm :)
thanks!!
Use the FU!!!!!IN Google !

gto's Zeos Quick Start Guide

Te Amo Taís!
Post Reply