For kretzschmar!

Hi kretzschmar!

How can I put my fields in a specific order at runtime? Post your answer, and I will give you the points...

-S
summersetAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

kretzschmarCommented:
? i don't understand the question ?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
summersetAuthor Commented:
Sorry...

I think I was asking how to change the sort order in a dbgrid at runtime.

Thanks

-S
0
kretzschmarCommented:
hi summerset,

just set the index of the field, if there one, by the dataset indexfieldname-property,

if you don't have an index on the fields, then can i send you a sample, which creates a ordered query on the fly, by clicking the column-header, and updates the changes by using a tupdatesql-component.

just, leave your email-address here.


anyway,
thanks for the points,
glad to helped you
good luck again

meikl ;-)
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

kretzschmarCommented:
0
summersetAuthor Commented:
Thanks again, kretzschmar !  ;-)

You can email the sample to:

summerset755@yahoo.com


-S
0
kretzschmarCommented:
well summerset,

i send it in ~6 Hours,
when i'm back in my home-office,
where i have it

so long
meikl
0
kretzschmarCommented:
sample sent ;-)
0
kretzschmarCommented:
did you received it?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.