Subject | Re: [IBO] TIBOQuery Sorting |
---|---|
Author | StinkyDuck |
Post date | 2003-04-17T05:59:39Z |
Florian,
Thank you so much for your detailed answer. I apprecieate it very much. My
real name is Mo. I will sign that on my future posts. Thanks for the heads
up.
Mo
""Florian Hector"" <FHector@...> wrote in message
news:b7hbd3$h08$1@......
Thank you so much for your detailed answer. I apprecieate it very much. My
real name is Mo. I will sign that on my future posts. Thanks for the heads
up.
Mo
""Florian Hector"" <FHector@...> wrote in message
news:b7hbd3$h08$1@......
> Stinky,click
>
> seems you are running into the same problems I did some time ago. I don't
> know how much you know so far regarding the topic, therefore some basics:
> Once you are done with defining your query using the component editor,
> on the tab Ordering, click on Create and select the columns you want youradd
> query ordered by. Click OK and all the settings for OrderingItemNo,
> OrderingItems, and OrderingLinks are automatically defined. Thing is,
> ordering is only defined for one column at the time.
> Using your fields IDNumber, FirstName, and LastName, the query would be
> "Select IDNumber, FirstName, LastName from tabCustomers"
> After the steps in paragraph 1, OrderingItems would look like this:
>
> IDNumber=IDNumber
> FirstName=FirstName
> LastName=LastName
>
> and Ordering Links like this:
>
> IDNumber=ITEM=1
> FirstName=ITEM=2
> LastName=ITEM=3
>
> Now, if you want to order by IDNumber, LastName, FirstName, you manually
> these two fields to the first row so that it looks like this:the
> IDNumber=IDNumber, LastName, FirstName
> FirstName=FirstName
> LastName=LastName
>
> OrderingLinks remains as it is.
>
> At runtime, you only have to set OrderingLinks to the desired value and
> query will be reorderd, e.g qryCustomers.OrderingLinks := 1provided
>
> One more thing unrelated to your question. It would be nice if you
> a real name, some people here on the list don't bother answering if they___________________________________________________________________________
> have to deal with nameless people.
>
> Florian
>
>
>
>
>
> IB Objects - direct, complete, custom connectivity to Firebird orInterBase
> without the need for BDE, ODBC or any other layer.___________________________________________________________________________
>
> http://www.ibobjects.com - your IBO community resource for Tech Infopapers,
> keyword-searchable FAQ, community code contributions and more !
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>