Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to translate SQL Picture (binary array) to DBF Pictu
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00458797
Message ID:
00458875
Views:
17
Hi!

Understand now. I did not tried ADO recordsets with binary data, but probably you might find some articles about that at MS site. Our company have some experiense with ADO - binary images storing - ASP pages. I think it will not be hard to transfer code from ASP page to VFP. I will try to find it (it was 2 years ago).

>>Assuming you're talking about image field at the SQL Server, query to image field in the SQL Server returns result with General field. However, it is quite hard to work with and maintain general fields in application. They're also quite slow and not portable, not reliable etc.
>
>Vlad,
>The image is from an ADO Records set. I'm trying to
>SQL Pict -> ADO ADLONGVARBINARY - > to VFP (Cursor/DBF) General or Picture Field
>
>With SQL;
>for ex: SQLEXEC(handle,[SELECT * FROM CATEGORIES],[MyCusrsor])
>The SQL Pict translates to a General FIeld in the VFP CUrsor
>
>But in ADO it becomes a ADLONGVARBINARY type: The ADO image has an ALEN() (does that mean its an array?)
>There a GetChunk method. But the Error (NOT CHATACTER DATA, or something similar error) occurs when APPEND GENEERAL is issued.
>
>I will check the documents. Thanks
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform