Results 1 to 2 of 2
  1. #1
    Brad Harris is offline Novice
    Windows 7 Access 2003
    Join Date
    Dec 2009
    Posts
    1

    Print files stored in an OLE field


    Is there a simple way to print files stored in an OLE field using the Windows associated programs? So if it is a .doc, it will open Word, print it and close. PDF opens Acrobat Reader, prints and closes, etc.

    It would be just like right clicking on a file in Windows Explorer & hitting Print. I just need to do it on files stored in an OLE field. My goal is to hit one button, have an Access report print and then print the attachments associated with that record.

    Is it possible?

  2. #2
    ChrisO is offline Novice
    Windows XP Access 2003
    Join Date
    Aug 2005
    Location
    Brisbane, Australia
    Posts
    27
    Let’s reverse the questions: -

    Is it possible?
    Yes.
    The process would start with understanding http://allapi.mentalis.org/apilist/ShellExecute.shtml

    Is there a simple way to print files stored in an OLE field using the Windows associated programs?
    That would depend on what you call simple.
    OLE fields can store BLOBS and that would require more code.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 11-17-2009, 06:55 AM
  2. Replies: 0
    Last Post: 10-04-2009, 04:11 AM
  3. Error when trying to print or print preview
    By TriAdX in forum Reports
    Replies: 8
    Last Post: 08-25-2009, 08:20 AM
  4. stored procedure return value to access form
    By rbw940 in forum Programming
    Replies: 0
    Last Post: 10-13-2008, 01:31 PM
  5. Print memo field
    By Mike McNally in forum Reports
    Replies: 0
    Last Post: 09-22-2008, 05:35 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums