Solved

Creating an Access Form - Would Like a Field that can be formatted like Word

Posted on 2011-03-09
9
268 Views
Last Modified: 2012-05-11
I am creating a transmittal form (input form and associated report) in Access and would like to have a  “Notes” field that can be formatted like word, including cutting and pasting excel tables, images, etc.

The Rich Text html format property allows some formatting but not as much as I would like.
0
Comment
Question by:rogerdjr
  • 4
  • 3
  • 2
9 Comments
 
LVL 57
ID: 35087191

<<The Rich Text html format property allows some formatting but not as much as I would like.>>

  You won't typically find anything that feature rich in a control for Access.

  I'd add an OLE control and either embed or perferably link to a Word Document.

JimD.
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 35096079
In Access 2007 and newer, perhaps you can use an "Attachment field"

One advantage is that this is specifically designed to support Office Files (Word, Excel, ...etc)
It will also allow you to store multiple attachments for a single record.

<The Rich Text html format property allows some formatting but not as much as I would like.>
Can you be a bit more specific, providing an example?
0
 

Author Comment

by:rogerdjr
ID: 35098917
couldn't find attachment field as an option in table or form design?
0
 
LVL 57
ID: 35100017
<<couldn't find attachment field as an option in table or form design? >>

  It's in table design.  Click the drop down for field type.

JimD.
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 

Author Comment

by:rogerdjr
ID: 35111815
I assume you are referring to the "OLE Object?"
0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 500 total points
ID: 35112462
No, remember that I stated :

<In Access 2007 and newer, perhaps you can use an "Attachment field">
...So this will be a field option in an Access Database in the 2007/2010  *Format*.

So are you using an Access 207/2010 formatted DB?
If not, then this will not be an option.
0
 

Author Comment

by:rogerdjr
ID: 35113604
I'm using access 2010, but hadn't re-configured my databace to 2007/2010 format.

That created a whole new problem - this coe is giving me a "data type mismatch" error:

    Dim FilterTxt As String, rst As Recordset, dbs As Database
   
    Dim strSql As String
    Dim ContrId As String
   
    Set dbs = CurrentDb
   
    strSql = "SELECT LkupActItemStatTbl.LkupActItemRecId, LkupActItemStatTbl.Status, LkupActItemStatTbl.OutlkConstVal, "
    strSql = strSql & "LkupActItemStatTbl.LkupOutlkConstOlTaskStatus, LkupActItemStatTbl.ActItemColorCode From LkupActItemStatTbl "
    strSql = strSql & "WHERE (((LkupActItemStatTbl.LkupActItemRecId) = " & Me![CurStat] & ")) ORDER BY LkupActItemStatTbl.Status;"
   
    Set rst = dbs.OpenRecordset(strSql)
0
 

Author Comment

by:rogerdjr
ID: 35113811
Got the conversion worked out and low and behold the attachment field is there thanks
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 35224864
;-)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
This is written from a 'VBA for MS Word' perspective, but I am sure it applies to most other MS Office components where VBA is used.  One thing that really bugs me is slow code, ESPECIALLY when it's mine!  In programming there are so many ways to…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now