Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL PT returns a CAST AS CHAR(100) as memo, need char fl
Message
From
18/12/2006 05:48:48
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
Database:
MS SQL Server
Miscellaneous
Thread ID:
01178491
Message ID:
01178498
Views:
13
>Hi all
>
>I have a cursor created using SQL PT, in which I have a remarks field, of which I am getting the first 100 characters using CAST(fld AS CHAR(100)) but it is always coming up as a memo field. Whereas the same VFP counterpart code is bringing in the remarks column as a character 100 field.
>
>Can you please let me know how I can convert the memo field to a text field except for creating a second cursor in VFP again from the SQL PT cursor.

What does:

? CURSORGETPROP("UseMemoSize",0)

return? To return that as a char value that should return something over 100. ie:

CURSORSETPROP("UseMemoSize",250,0)

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform