SendObject - Object Already Uploaded To Access As Attachment

May 29, 2012

Send an email with an attachment.What do I want to attach?A PDF document that I have already uploaded to access and appended to the record I'm currently viewing.I can't find a way to attach a document I have uploaded to access. I'm not even certain sendobject supports that. I can't find any information on that anywhere.

View Replies


ADVERTISEMENT

General :: Emailing PDF As Attachment With SendObject?

Jun 16, 2015

I often output reports as a PDF. I also use SendObject to send emails from my application. But is there a way to send a PDF as an attachment with SendObject? Perhaps not, as the PDF would not be within my application?

View 3 Replies View Related

Sendobject In Rtf From Access Is Dropping My Checkboxes...

Oct 19, 2004

When i use docmd.sendoject and try to attach my report in rtf it's dropping my checkboxes. I need the checkboxes...does anyone know how to solve this problem.

View 1 Replies View Related

General :: Files Can't Be Uploaded To External Host Server

Apr 1, 2014

We have an Access frontend with a Sql back end on an external server in the cloud.One of the things I need to do is allow people to attach files/documents to a record. I have set this up okay with the document being copied and saved to a new location and the path string being associated with the record. This will only work for people in my office though. I need to enable people in other cities to be able to upload or view these documents. Each office has their own server.

My IT department said they had created a VPN for this. They gave me a web URL which enables me to log in to QNAP. From there I can click to open the 'file station' and use the 'folder window' that appears within the browser to click through to the relevant folder - and there are buttons for uploading and downloading documents.

I could try writing some code that will automate all these steps - maybe. I'd rather not, but I can't see any alternative. It looks like a real pain to go through the HTML elements (and I think there may be errors coming up about certificates)

The files can't be uploaded to the external host server the back-end is on incase any of the documents are confidential. They don't want it saved anywhere other than on their own servers.

View 2 Replies View Related

Modules & VBA :: Retrieving Last Modified Date From A File Uploaded In URL

Feb 3, 2014

Vbscript/vb macro code for retrieving the last modified date of a file uploaded in a URL.

I am able to get the file but wanted to get the last modified date of it.

View 5 Replies View Related

How To Use Data From Uploaded Excel File And Display Chart Based On Query

Aug 12, 2015

I have a graph chart and my row source type is a Query. So I retrieved data from the Query that I built.

However , I want to get the data from the uploaded excel file.

I have a form that will prompt user in the beginning to upload the excel file and replaced the old table in Access- "CrossSystemData"

Basically , I want to pull data from Excel file , Run the query(Data from excel file) then excute to "display a chart based on my query" ... Is it possible ?

Query SQL: "PolyWrongRegInsCount"

Code:
SELECT GROUPING.INSTITUTION, Count(*) AS NO_OF_GROUP
FROM (SELECT DISTINCT CATEGORY, GROUP_NO, INSTITUTION, IIF(Left(INSTITUTION,1)="P","POLYCLINIC","HOSPITAL") AS INS_TYPE FROM CrossSystemData WHERE INSTITUTION NOT LIKE "*UNKNOWN*") AS GROUPING
WHERE (((GROUPING.CATEGORY)="WRONG REG") AND ((GROUPING.INS_TYPE)="POLYCLINIC"))
GROUP BY GROUPING.INSTITUTION;

My Chart SQL :

Code:
SELECT PolyWrongRegInsCount.[INSTITUTION], PolyWrongRegInsCount.[NO_OF_GROUP]
FROM PolyWrongRegInsCount;

View 3 Replies View Related

Email From Access With Attachment.

Aug 16, 2006

Hi all
We have been using
Docmd.Sendobject, "name", acformatrtf, to, cc etc

Is there any way to have a form within access just like a compose format wherein we have option to attach files?

View 8 Replies View Related

Can Someone Open My Attachment Using Access 2003?

Feb 6, 2008

Hi,


I posted a question the other day http://www.access-programmers.co.uk/forums/showthread.php?t=143027 about not being able to open an Access 2003 database in Access 2007. It was asking for a password when I hadn't set one.

I gave up on that, started from scratch at home on Access 2007 last night and then saved the database in Access 2003 format. Took it to work on my USB drive today - where we use Access 2003 SP3 - tried to open it and had a message pop up saying that the database was an unrecognised format, or words to that effect. This is bugging the heck outta me!

I'm really beginning to suspect there is a problem with Access at work. Our IT guy downloaded the hotfix suggested by Moniker, but I can't see if it made any difference.

I've taken a fresh copy of my A2007 database, saved it in A2003 format again and attached it as zipped file below. Can someone just please see if it opens properly on their PC? It's very rough and ready as I only spent about an hour on it last night, but I just need someone to tell me if they can see the tables, forms etc.

- If you CAN open it, then I've got some evidence that there's a problem at work and can maybe talk our IT dept into a reinstall (or a new PC)

- If you CAN'T open it, then I must be doing somethnig wrong here and I'd really appreciate further advice.

Thank you very much for your help.

View 6 Replies View Related

Modules & VBA :: Send Attachment From Access

Feb 4, 2015

I have a button when pressed that it sends an email from lotus notes and inputs relevant text etc, however I seem to be struggling on how to have an attachment sent with the email. So everytime the button is pressed it will attach a word document.

View 1 Replies View Related

Email TXT File As Attachment From Access?

Jan 2, 2014

I am trying to run a script to look for the latest file in the path: "C:UsersmeDesktopReports and grab the latest file and email it to recipient? Right now my script out put the .txt to a the folder but can figure out how to send that file as attachment?

View 14 Replies View Related

Access To Lotus Notes Email Attachment

Jun 26, 2007

I wish to attach to an email a specified "Shortcut" such that recipients will be able to simply click the "attachment and the Access application will open.

I have searched the forum quite extensively but the perspiration has overtaken the inspiration so any assistance would be appreciated.

Below is the complete code that I am using

Private Sub Combo206_Click()

Maint_Sup_Close = Now()' Update a field
Dim Attachment As String
Dim MailDoc As Object
Dim AttachME As Object
Dim EmbedObj As Object

Dim s As Object
Dim db As Object
Dim doc As Object
Dim rtItem As Object
Dim Server As String, Database As String
Dim strError As String
Dim PI As String
Dim Description As String
Dim Work As String

Dim Email As String
Dim Docket As String

PI = Me.PI_No_1
Description = Me.Desc
Email = Me.Created_Email
Docket = Me.Docket_ID
Work = Me.Work_Required

Set s = CreateObject("Notes.notesSession")
Server = s.GETENVIRONMENTSTRING("MailServer", True)
Database = s.GETENVIRONMENTSTRING("MailFile", True)
Set db = s.GETDATABASE(Server, Database)

On Error GoTo ErrorLogon
'see if user is logged on
Set doc = db.CREATEDOCUMENT
On Error GoTo 0

doc.Form = "Memo"
doc.importance = "1" '(Where 1=Urgent, 2= Normal, 3= FYI)

'Send an e-mail to
doc.SENDTO = Email
doc.RETURNRECEIPT = "1"
doc.Subject = "Maintenance Request Closure"

Set rtItem = doc.CreateRichTextItem("Body")
Call rtItem.APPENDTEXT("Maintenance Request " & Docket & " for " & PI & " " & Description & " This request was created by yourself and has been Completed. Please confirm Completion")
Call rtItem.ADDNEWLINE(1)
Call rtItem.APPENDTEXT("")
Call rtItem.ADDNEWLINE(1)
Call rtItem.ADDNEWLINE(2)
Call rtItem.APPENDTEXT("Request Details were")
Call rtItem.ADDNEWLINE(2)
Call rtItem.ADDNEWLINE(3)
Call rtItem.APPENDTEXT(Work)
Call rtItem.ADDNEWLINE(3)

Works fine down to here

next line gives error 13 Type Mismatch

Set AttachME = doc.CreateRichTextItem.Add("file:\absmanuf_serverabsmanuvMaintManagReposit oryEmail_Cell_Mcs_Maint.mdb.lnk")
SetEmbedObj = AttachME.EmbedObject(1454, "", "\absmanuf_serverabsmanuvMaintManagRepositoryE mail_Cell_Mcs_Maint.mdb.lnk")




doc.SaveMessageOnSend = True
Call doc.Send(False)


Set doc = Nothing
Set db = Nothing
Set s = Nothing
Set rtItem = Nothing

MsgBox "Message Sent"



ErrorLogon:
If Err.Number = 7063 Then
MsgBox " You must first logon to Lotus Notes"
Set doc = Nothing
Set db = Nothing
Set s = Nothing
Set rtItem = Nothing
End If


End Sub


I am a bit out of my depth and would appreciate a guru correcting the error of my ways

Regards

Len

View 3 Replies View Related

Modules & VBA :: Import Email Attachment (Excel) To MS Access

Sep 20, 2013

- I have emails with excel attachments coming in multiple times a day to outlook.

- I want to click a button in Access and automatically import the last excel attachment in my email in box based on the timestamp of when it came in (thus getting the last one).

View 2 Replies View Related

Modules & VBA :: Showing In Access If Email In Outlook Has Attachment

Oct 15, 2014

I found a code that will go trough an emailbox and export all emails to a table in access. This part is working OK (except the received date). I also wante to show in the table if the email contains an attachment, but that part is not working at all. The project actually is meant to store the emails on a shared drive and attachments and have the emails in Access so I can see them all and recall the one needed.

Code:
Private Sub Command14_Click()
Dim TempRst As DAO.Recordset
Dim rst As DAO.Recordset

[Code].....

View 8 Replies View Related

Send Email Form Access Code With Attachment

Feb 14, 2012

Send an email form Access code with attachment..

I am able to export data to excel file, I would like to send the excel file created to the customer, is there a sample code I can use to do this in a module.

View 1 Replies View Related

Modules & VBA :: Email Hyperlink / Attachment To Open Access File?

May 15, 2015

I have created an action log database that sends an email when a new action is entered. I would like to launch the database using a hyperlink in the email, but can't seem to get it to work. All users have a copy of the front end on their desktop, so whatever I add to the email needs to launch the front end for any user signed on to their own desktop.

This is what I have and it sends a hyperlink but I click it, I get an error saying it can't find the file. I don't know how to word the path name for any user?

With obMsg
.subject = "New action request for " & team
.To = people

[Code].....

View 14 Replies View Related

General :: Using Access 2010 To Send Bulk Email Each With A Unique PDF Attachment?

Feb 12, 2013

I would like to automate the current process of sending an e-mail with a PDF attachment that is unique to each recipient; it is their test results. I'm sending an e-mail one at a time (which was fine when the number of folks being tested was small, but now I'm up to approximately 200 e-mails and growing each year)

System Environment:

Windows 7 SP1 (64 bit)
Office 2010 Professional

Access environment and Process:

1. A qry object/letter is built based on 4 tables (test results, result averages, a global employee list and location)

2. The Report has both static and dynamic text. Examples include: "Dear" [qry-Letter. F_name] and Address Information

a. =[qry-Letters.F_Name] & " " & [qry-Letters.L_Name]
b. =[qry-Letters.Position]
c. ="Dept " & Right([qry-Letters.Dept],3) & ", " & [qry-Letters.City]

3. The report also includes the employee's results, the session averages (testing is conducted at multiple locations each occurrence is a session) and companywide averages.

4. Report Process: Run the report, entering primary key Emp_ID, report is populated saved (overwritten with the next Emp_ID and printed as a saved PDF.

5. MS Outlook: create a new e-mail, text body is common to all e-mails e.g. "attached are your test results" the PDF is attached and the e-mail sent to the recipient (the e-mail address follows the corporate standard, =Trim([qry-Letters.F_Name] & "." & [qry-Letters.L_Name] & "@abc.com")

View 3 Replies View Related

Object Library Not Registered/ActiveX Component Can't Create Object

Jun 9, 2005

Hello

I am using Access 2003(11.6355.6360) SPI

When I attempt to create a new DB - by performing Blank Database I immediately get a message 'Object Library not registered'.

If I 'OK' that box and try to create a table, I can do so - create Table in design view.

When I then try to Import external data - an excel file I get the message 'ActiveX component Can't create object'.

I have looked ob various sites for help and forum information regarding these errors but have found nothing conclusive, with specidfic regard to Access 2003.

The version has been loaded on my machine about 1 year as part pf Office Professional but this is the first time I have attempted to run Access itself.

Does any forum member have any ideas as to how this problem could be resolved.

Thank You

Rgds

Paul Langham

View 1 Replies View Related

Forms :: Object Doesn't Contain Automation Object Table Name

Jan 5, 2015

I am currently building a database for the company I work for that is fairly similar to the Northwind Database; however it is made from scratch so hopefully some of the common problems with that database won't find their way into mine.My problem is that when I go to my Orders form, I pick a customer from the main form, which creates a record on the Orders table. When I then go to the subform to choose a product/line item, I get the error in my title ("The LinkMasterFields property setting has produced this error: 'The object doesn't contain the Automation object 'OrdersT.") as soon as a product is chosen from the drop down list.

View 1 Replies View Related

Forms :: Subform - Object Doesn't Contain Automation Object

Jul 17, 2013

The error is:

The LinkMasterFields property setting has produced this error: 'The object doesn't contain the Automation object 'tblIndividual.' '

Then it also gives me the same one on another table.

I think it has something to do with the link master/child fields. I've tried all kinds of relationships with the three tables and can't figure it out.

I've tried uploading the database here but it won't. It's on my Sky Drive.

[URL] .....

View 5 Replies View Related

Help With Sendobject!!!

Oct 19, 2005

Hey Guys,

I have the sendobject currently working so that when the database is opened, it sends the required mail. But i would like it to send an email once a month, is there a way around this??

View 2 Replies View Related

SendObject

Nov 23, 2005

Does anybody know if it's possible, using the SendObject command, to change the Name of the attachment it creates? Rather than having the Name of say the report, changing it to tha date/time.

Any help appreciated.

View 2 Replies View Related

Ms Access 9 To 10 Object Library

Oct 25, 2007

I created an app that used the 10.0 library and a field office that recieved the app is using the 9 library. They are having difficuties getting buttons on forms to work. They are getting a 2580 error something about the SELECT statement. Could the library be the problem and if so is there someway I can save mine using the 9 so it will be compatible?
Thanks.

View 14 Replies View Related

Help On SendObject Error

Nov 2, 2007

Hello everyone,

The DoCmd.SendObject command was working fine. Now it is giving me
a run-time error '2501' saying "The SendObject action was canceled"
Would anyone know why this is happening??
Thanks

PS:I looked up for this error number but it doesn't say anything related to the SendObject method

View 5 Replies View Related

Export OLE Object From Access Database

Feb 9, 2006

OK, I have a very large Access database with embedded bitmap photos.

I have realized the error of my ways and would like to list them as linked.

The problem:
How can I get the embedded files out without individually going through, viewing and saving and naming?

Is there a way to save a file do a directory and name it, say the primarykey.bmp or something?

Please help!

View 1 Replies View Related

Forms :: MS Access Could Not Find Object

Apr 8, 2013

I am using access 2010 but working on a 2003 db. I have a command button on a form that I am trying to get to export a report to my desktop:

Code:
Private Sub Export_QA_Report_Click()
On Error GoTo Err_Export_QA_Report_Click
Dim reportname As String
Dim theFilePath As String

[code]...

I am getting a msg stating MS access could not find the object rptQAReport...

View 1 Replies View Related

General :: ACCESS Object References

Mar 3, 2014

I am cleaning up a database that has been around for some time and I wish to be able to check for references within REPORTS/VBA Module code/ Form Designs etc. anywhere there is likely to be a reference to either an Access TABLE or QUERY.... I know there is the 'Object Dependencies' function within Access that will go some way to telling you what relies on what, but this is simply not comprehensive enough in that it doesn't go down to Form design level where further references can hide...

Countless times I have checked and subsequently deleted tables that I considered redundant... only to find later on there was some SQL Source reference to a table or query buried in the design of a form that I had overlooked....

Any way to definitively check and to ensure that all traces of a specific table or query are accounted for...?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved