Stephen Russell wrote:

> Well  there is no conversion in your description from string to proper
> file type before use.

Hi Stephen,

I just posted the bare minimum for the problem.  In real life, I have 
PDF file, and cString = FiletoStr("somefile.pdf")

> This is not the first time images and storage in a DB have been a
> problem.  You just have to stop that use of cstring in your insert.
> [values('123', '" + cstring + "')"]
> 
> You will have to make the conversion before hand and pass that value
> instead.  I experienced that when 2000 came out so it was a long time
> ago.

And that is the question I was trying to ask, but failed.   How do I 
pass that value in a SQL statement to use in SPT?  The code above was my 
non-working attempt.  Thanks.


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to