Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 9 app and TLS
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01676383
Message ID:
01676392
Vues:
39
>I am sorry for my mistake. When I wrote MEMO I meant TEXT.
>I didn't know what can "map" VARCHAR(MAX) to VFP Memo. I will have to test it.
>I will have to find the Native Client 11 (I don't know if I have it and don't know how to check if I have it).
>Thank you!
LOCAL oTest AS CursorAdapter

oTest = CREATEOBJECT("CursorAdapter")
oTest.DataSourceType = "ODBC" 
oTest.DataSource     = SQLSTRINGCONNECT(.....)
oTest.BufferModeOverride = 5
oTest.FetchSize = -1
oTest.UseCursorSchema = .t.
oTest.MapBinary = .t.
oTest.MapVarchar = .t.
oTest.Alias = "crsTest"


WITH oTest.CursorSchema NOSHOW PRETEXT 15
     TheVarcharMaxField M
ENDWITH

WITH oTest.SelectCmd NOSHOW
     SELECT TheVarcharMaxField FROM YourTable
ENDWITH

oTest.CursorFill()
BROWSE NORMAL
NOT TESTED!!!
No errorhandling
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform