Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Order By MEMO field
Message
From
03/05/2001 10:17:32
 
 
To
03/05/2001 10:09:51
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00503001
Message ID:
00503005
Views:
24
This message has been marked as a message which has helped to the initial question of the thread.
Hi!

If it is VFP query, try:

Select padr(MemoField,200) as MyMemoField, ... From ... ORDER BY 1

This way query will return a character field with length 200. ORDER BY 1 tells to order by the first column of the result set.

You can probably do something similar on SQL Server, if query you do runs there.

>I customer want to order by a MEMO field in a SQL query.
>
>I noticed it doesn't work.
>
>Is there any workarounds?
>
>I tried substr() ect..
>
>i.e.
>select textfield,memofield from mytable order by memofield;
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform