Subject | Re: [ib-support] How to ORDER BY a field produced by a singletonselect? |
---|---|
Author | Raymond Kennington |
Post date | 2002-12-25T10:55:32Z |
Milan Babuskov wrote:
OrderLinks work in this circumstance.
--
Raymond Kennington
Programming Solutions
W2W Team B
--
Raymond Kennington
Programming Solutions
W2W Team B
>That works. Thank you. It also gave me an idea as to how make IBObjects'
> Raymond Kennington wrote:
> > The following is required for allowing ordering by a looked-up field that is
> > computed.
> >
> > SELECT
> > A.ID,
> > A.NAME,
> > (SELECT B.NAME from B WHERE B.ID = A.BID) AS B_Name
> > FROM A
> > ORDER BY B_Name
> >
> > It doesn't work, so how should one do this?
>
> Try: ORDER BY 3
OrderLinks work in this circumstance.
--
Raymond Kennington
Programming Solutions
W2W Team B
--
Raymond Kennington
Programming Solutions
W2W Team B