Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing a memo field to a character field
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01044753
Message ID:
01044786
Views:
16
>
>Thanks Yuri. This is OK but I am having a problem using the index in an SQL SELECT. I am getting an 'ORDER BY clause is invalid.' error.

You have to add calculated field to the query result to sort on it.
SELECT *, PADR(mymemo,75) AS SortOrd ;
  FROM mytable ;
  ORDER BY ..., SortOrd 
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform