Search results

  1. M

    Sending multiple reports via outlook

    With DoCmd.TransferSpreadsheet can you only use queries and tables? I was trying to run it off my report.
  2. M

    Sending multiple reports via outlook

    The query that I use to create the report.
  3. M

    Sending multiple reports via outlook

    Using DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "qry_SoilB", "F:\WH\Ft\Soil Report\qry_SoilB.xls", True, "Test1" I get Runtime Error '3011' " Microsoft Access database engine could not find the object qry_SoilB. Make sure the object exists and that you spell its name and...
  4. M

    Sending multiple reports via outlook

    hmmm I haven't done that before. Do you have an example?
  5. M

    Sending multiple reports via outlook

    I initially wanted reports because I was creating additional calculations(Sums, Averages and %'s) at the end but then I found out that when you export reports those additional calculations won't follow. I'm not sure what the best option would be at this point.
  6. M

    Sending multiple reports via outlook

    Is there a way to have all 5 of the reports be in one excel file but separate sheets?
  7. M

    Sending multiple reports via outlook

    After changing the code, I do not even need a time delay for this.
  8. M

    Sending multiple reports via outlook

    Wow.. I knew I was missing something that simple. For some reason, I thought I just needed the location folder and not the file name for that. I will be changing the report names once it is complete. Much appreciated.
  9. M

    Sending multiple reports via outlook

    I added TWait = Time TWait = DateAdd("s", 15, TWait) Do Until TNow >= TWait TNow = Time Loop Right after 'Set attachments but I am still getting the same error.
  10. M

    Sending multiple reports via outlook

    "Cannot find this file. Verify the path and file name are correct."
  11. M

    Sending multiple reports via outlook

    Hello, I have 5 reports that I want to send via outlook at the same time from a push of a button on an access form. I have currently have: Option Compare Database Function sndrpt() Dim objOutlook As Outlook.Application Dim objEmail As Outlook.MailItem Dim strAttach1 As String Dim...
  12. M

    Automate *.pdf (multiple reports) to send from Access thru MS Outlook

    I know this post is very old but I was attempting to do the same thing and came across an issue. When I try to run the mod I get a runtime errorRuntime error '-2147024894(80070002)'. The debug highlights .Attachments.Add strAttach1 It does not appear to be exporting to the file location. If I...
  13. M

    Creating a relationship between two uncommon tables.

    Sorry for responding so late. A few things came up. I was able to get it to work based on your suggestion. I appreciate your help.
  14. M

    Creating a relationship between two uncommon tables.

    Yes, a make table query. The cpearson debugging link doesn't work.
  15. M

    Creating a relationship between two uncommon tables.

    It works if I change it to a make query..... Link doesn't work
  16. M

    Creating a relationship between two uncommon tables.

    From what I can tell, it seems to be working BUT access freezes up after I run the query lol.
  17. M

    Creating a relationship between two uncommon tables.

    I do not want to manually add. It will be roughly right around 200 rows of data. What do you recommend? Yes, I have two tables. I will only be looking at the previous year and the current year. I will be changing these field names eventually.
  18. M

    Creating a relationship between two uncommon tables.

    I do not have Autonumbers in this table. I am trying to figure out a way that I can link the two tables. I have seen a few things on RowNumber but haven't been successful with it.
  19. M

    Creating a relationship between two uncommon tables.

    I may be overthinking this but I have two tables without a common link. Eventually, I am trying to create a report that compares two different years of data. The two tables were created from append queries. Is there any way I can create an additional column that shows the row number? I would...
  20. M

    Top Value Query by Group

    That is a great read. Thank you.
Top Bottom