Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Varchar(MAX), Memo fields, SPT and Remote Views
Message
From
25/01/2008 08:34:24
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
25/01/2008 08:16:28
Suhas Hegde
Dental Surgeon
Sirsi, India
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01284904
Message ID:
01285474
Views:
58
>>I documented it on forums for a few times at least:) I noticed the dicrepencies first with XML datatype, then OLEDB driver and passing byte arrays from .Net (now in list of corrected bugs of SP2-but I don't use SP2) then varchar(max). Bug seems to be within VFP not the driver itself. Try with a nonVFP environment and it correctly returns the data.
>
>Hi Cetin,
>Can you show me the error of Passing byte array from .net and VFPoledb driver Please? What error is it ?
>
>
>Suhashegde

Hi Suhas,
With OLEDB driver (prior to SP2) if you send a byte[] from .Net to a VFP SP and byte[].Length > 8000 then SP gets a null instead. It happens only if you do that with ADO.Net, doesn't happen with ADO from somewhere else say a VB6.
Hang on and I'll find the thread where it started with a workaround.

Update: Here is the link to the thread
Vfpoledb and binary parameters Thread #1198862 Message #1198862

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
Reply
Map
View

Click here to load this message in the networking platform