Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Server field type to store .pdf file
Message
 
 
To
05/07/2004 13:49:57
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00918564
Message ID:
00920811
Views:
33
Hi Fernando,

I outlined what the problem is with your approch in my previous message.

>
>It is to be used by a web application written in ASP accessing SQL Server tables. The ASP app is written by another developer, I just populate that table. He told me that he would use something like:
>
>1) Response.ContentType = "application/pdf"
>
>2) get data from table into variable, say, "X"
>
>3) response.BinaryWrite X
>
>I put some data in that table, he made some testes and said it worked ok.
>
>There is something wrong with the way I did it (the OLE issue)?
>
>>
>>Vlads method stores pure PDF file. You're storing OLE object created by APPEND GENERAL with imbeded PDF file. How are you planning to retrieve PDF file from the general field when you get data back from SQL Server?
>>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform