문제

On my Datasnap server I query some records and order them by a stringfield. Strings that start with ' are in front, this is default behaviour. (the database is interbase)

'Aaa
'Bbb
Aaa
Bbb

When i use a tClientdataset and a TDSProviderConnection on the client and connect to the TSQLDataset trough a TDatasetProvider the table on the client looks like this:

'Aaa
aaa
'Bbb
bbb

How to stop this? I am sure the order is correct in the TSQLdataset on the server.

도움이 되었습니까?

해결책

I found the answer right after posting, but ill leave it here.

It is an option of the TDatasetProvider

poRetainServerOrder : True

very strange that this is not the default behaviour.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top