Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does Order By work with a memo field?
Message
From
14/11/2002 14:27:43
 
 
To
14/11/2002 14:18:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00722873
Message ID:
00722880
Views:
10
Steve,

You can grab a portion of the memo field, using the left() function, see example below:

>I have a select statement that is failing whenever my 'order by' is a memo field. It returns the error "SQL: ORDER BY clause is invalid."
>
>Following is the code that is failing:
>
>select *, left(fdesc,10) as shortDescription ;
>From (cAlias);
>ORDER BY shortDescription;	
>into cursor (lcResultTable) readwrite
>
Steve Gibson
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform