473,491 Members | 1,965 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

using Word inside Access?

Trying to figure out the best way to accomplish this... I have a Purchase
Order form that we need to place an item "imprint" into with formatted
text, so that the manufacturer will see the exact imprint needed (size and
font). I felt that the best way to handle this was to place an OLE field
into the table, then place it on the form and have "word" as the text
editor.

Problem: how to get microsoft word to open when you double click on the
field. Right now it gives an error message on double click- that there must
be an "ole" object in the table in order to edit or open up bound control.
I diont want the operator chosing from the insert menu by right cklicking.
How can I get a blank "word" doc to open upon double click. OR... is there
a better method for a text field where you need to control formatting?
Nov 12 '05 #1
5 4293

"ivan" <in**@achieva.us> wrote in message
news:bH**********************@news4.srv.hcvlny.cv. net...
Trying to figure out the best way to accomplish this...


Why not just use the MS Rich Text control or do you need more functionality
than it offers?
Nov 12 '05 #2
How do you use the rich text control?

"Dale Green" <bi*******@home.com> wrote in message
news:59******************************@grapevine.is landnet.com...

"ivan" <in**@achieva.us> wrote in message
news:bH**********************@news4.srv.hcvlny.cv. net...
Trying to figure out the best way to accomplish this...
Why not just use the MS Rich Text control or do you need more

functionality than it offers?

Nov 12 '05 #3
How do you use the rich text control?

"Dale Green" <bi*******@home.com> wrote in message
news:59******************************@grapevine.is landnet.com...

"ivan" <in**@achieva.us> wrote in message
news:bH**********************@news4.srv.hcvlny.cv. net...
Trying to figure out the best way to accomplish this...
Why not just use the MS Rich Text control or do you need more

functionality than it offers?


Nov 12 '05 #4
My richtext control is not working.. I get a "You dont have the license
required to use the Activex control... " error. I tried to register it.
Didnt work. I tried regsvr32 on the file. Didnt work. Searching through
Microsoft knowledge base, it talks about a fix if this is caused by the
"developer edition". I am not using the developer edition.

Any ideas?

"Dale Green" <bi*******@home.com> wrote in message
news:46******************************@grapevine.is landnet.com...

"ivan" <in**@achieva.us> wrote in message
news:GR******************@news4.srv.hcvlny.cv.net. ..
How do you use the rich text control?


In form design "mode" you should have the Microsoft Rich Text Control
available from the Controls toolbar under "More Controls".

Make an appropriately sized Rich Text box on your form then feed it text
from your text control's double-click event like this

Private Sub Foo_DblClick(Cancel As Integer)
rtfPurchaseOrder.FileName = "PO.rtf"
End Sub

You'll probably want to feed the "output" to the Rich Text control in a
different way, I use it like above to display RTF files that are
pre-existing.

Nov 12 '05 #5

"ivan" <in**@achieva.us> wrote in message
news:UF*********************@news4.srv.hcvlny.cv.n et...
My richtext control is not working.. I get a "You dont have the license
required to use the Activex control... " error. I tried to register it.
Didnt work. I tried regsvr32 on the file. Didnt work. Searching through
Microsoft knowledge base, it talks about a fix if this is caused by the
"developer edition". I am not using the developer edition.

Any ideas?


Ah... I have Office Developer Ed. installed on this PC. I didn't link such
a common control to ODE... I figured it came with Office Pro.

If that's true then I'm sorry for wasting your time...

I have used Word in a Access form a long time ago but the details of what
control I used escape me right now. If I find the module later tonight I'll
fire you an email.

Here's an idea though... you can drop an IE control on a form, right? IE
will display Word files... soooo... use the IE control and instead of a URL
use a path to a Word file? That may require that each workstation has Word
installed though. There must be a more elegant solution... but I'm not
sure, I rarely need to integrate these features into databases.

D.
Nov 12 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
6548
by: Michael G. Schneider | last post by:
I know that using Word Automation inside an ASP page is no good idea. Anything I want to do in the current project is: open document, change some text, save and close document. Basically changing...
28
20267
by: Daniel | last post by:
Hello =) I have an object which contains a method that should execute every x ms. I can use setInterval inside the object construct like this - self.setInterval('ObjectName.methodName()',...
4
7607
by: Jeff Harbin | last post by:
I've got an ACCESS 2000 application that I'm developing. One of the outputs of this app will be to generate a series of 'jobs' which corresponds to a record in the database. Each record will be...
2
1553
by: Juan Antonio | last post by:
Hi to the forum... I have this code that allows to me the access to the text of each paragraph, in a word document: foreach Word.Paragraph x in myapp.ActiveDocument.Paragraphs {...
10
2474
by: George G. | last post by:
Hi there, I am busy writing a new asp.net application and I am reusing some of my existing asp functions and methods in a user control. I need access to session, request and response in some of...
9
1828
by: Nathan Sokalski | last post by:
I am trying to do a database search using LIKE using the following code: Private Sub btnSearch_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSearch.Click If...
1
2915
by: rlntemp-gns | last post by:
Re: Access 2003/Word 2003 I have about 100 motivational documents that I am wanting to import into a small database and put a front end on it that would allow the user to select one, read it and...
25
2542
by: samjnaa | last post by:
Please check for sanity and approve for posting at python-dev. In Visual Basic there is the keyword "with" which allows an object- name to be declared as governing the following statements. For...
2
1314
by: jimv1983 | last post by:
I have a class that takes a vector. I want to create a new instance of a class. The Word class has a vector and I want to assign the incoming vector to the vector in the class so i can have...
0
7118
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7157
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7192
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6862
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5452
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4886
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
637
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
282
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.