Results 1 to 5 of 5
  1. #1
    AdrianoG87 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Sep 2011
    Posts
    8

    output file name

    Hi all,

    I've set up a report that allows me to generate invoices that are inteded to be sent to customers.

    The reports generate succesfully in pdf format, the only minor issue is that, when i go to export the invoice to email as attachment, the default filename is the report name, how can i change the file name without needing to rename the file manually.



    The file name if possible will be, customer name - invoice number - week number all of which can gathered from a table.

    Is this at all possible to do simply as i have no idea how to do that coding stuff.

    Thanks everyone.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,603
    I presume you are using Send To wizard. Apparently there is no flexibility with the wizard. Would need to use VBA code.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    AdrianoG87 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Sep 2011
    Posts
    8
    yeh im using the wizard,
    i got my form in design view, add button, send report to...or what ever its called.

    i know how to change the default output file name, from properties>caption

    thanks anyways though.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,603
    I don't understand your last post. Is the issue resolved? What does the form caption property have to do with report name?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    AdrianoG87 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Sep 2011
    Posts
    8
    issue not resolved unfortunately. without going into VBA as you said.
    i changed the report chaption to partially what i need it to be, so now when i export the report to file, the filename is the caption name instead of the report name.

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

Similar Threads

  1. .txt output from report
    By dhopper in forum Reports
    Replies: 1
    Last Post: 08-05-2011, 12:01 PM
  2. Database for Company's Output
    By cg98721 in forum Database Design
    Replies: 1
    Last Post: 06-15-2011, 07:10 AM
  3. Output tables to an excel file on a network drive
    By GraemeG in forum Import/Export Data
    Replies: 1
    Last Post: 04-01-2011, 03:06 PM
  4. How would you output an XML file with an Ole Attachment?
    By techneophyte in forum Programming
    Replies: 7
    Last Post: 09-09-2010, 09:09 AM
  5. Field output for height?
    By emccalment in forum Access
    Replies: 1
    Last Post: 01-29-2010, 12:42 PM

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