Solved

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

Posted on 2011-03-09
9
274 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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
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
 

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Nice table. Huge mess. Maybe this was something you created way back before you figured out tabs or a document you received from someone else. Either way, using the spacebar to separate the columns resulted in a mess. Trying to convert text to t…
A few years ago I was very much a beginner at VBA, and that very much remains the case today.  I'll do my best to explain things as I go in the hope that other beginners can follow.  If you just want to check out a tool that creates a Select Case fu…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
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 …

829 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