Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
|
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 21st, 2004, 06:25 AM
Registered User
 
Join Date: Apr 2004
Posts: 1
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via Yahoo to kooltmd
Default RichTextBox with Access Database

I am having problem while inseting rtf document in a access database.I am using following code.
INSERT INTO DAIRY([TEXT])VALUES ('" & RICHTEXTBOX.RTF & "')"
BUT I GET AN ERROR SAYING LIKE THAT syntax error in query string
but when i replace it with richtextbox.text it works just fine.
Please Help me.
thanks

tmd
The Following User Says Thank You to kooltmd For This Useful Post:
EUSEBIO SANTANA (September 23rd, 2010)
 
Old April 21st, 2004, 06:52 AM
Authorized User
 
Join Date: Aug 2003
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Default

How about RichTextBox.TextRTF
This is the text including the rtf codes

Greetz

Tom.





Similar Threads
Thread Thread Starter Forum Replies Last Post
RichTextBox Query sandeep Infopath 0 June 13th, 2007 08:03 PM
How to Print RichTextBox marcusbris VB How-To 0 December 2nd, 2006 09:29 AM
RichTextBox Help Kaustav VB How-To 1 February 22nd, 2006 03:53 PM
What is the use of a richtextbox? snowydust VB How-To 2 July 28th, 2004 11:05 AM
Retaining RichTextBox Format in Database mrhyman VB How-To 4 February 25th, 2004 03:06 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.