Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Store HTML document in TextField
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01278994
Message ID:
01278999
Views:
17
>Our system is uses a control, that allows for the data to be exported to HTML. I need to store the HTML document in the database once it is produced. I have a table called NoteCab with a field called NoteData which is a text field. I thought I could just use the:
>
>lcDataToStore=FileToStr('myDocument.HTM')
>
>and insert that. But because the HTML document has quotation marks and such, it fails on the insert. Is there a way to store the actual document into the database. We can't just have a file pointer stored, we have to have the actual document.
>
>Thanks for any pointers
>
>Kirk

What is your exact insert statement?
BTW I think you should post this question in VFP forum not in SQL Server one :-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform