Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL PT returns a CAST AS CHAR(100) as memo, need char fl
Message
De
18/12/2006 05:48:48
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Database:
MS SQL Server
Divers
Thread ID:
01178491
Message ID:
01178498
Vues:
14
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform