I am working with a database that's been in use for years (pre-dates me). This is a multi-user database in which the user updates (among other things) a "Comments" field on an invoice in question, which is a memo field to allow for as much room as possible, and for multiple comments over time.
On a daily basis, there are queries run, several including this Comments field, which are automated to be emailed out (via Outlook) to various people within our organization. This had been done by way of a macro and the EmailDatabaseObject command. The problem with this is that it truncates the memo field by the time it gets to Excel.
I've searched the forum and seen one solution was to Export and then copy and paste, but that doesn't help me in terms of automation. Can anyone help me? I tried just doing a simple conversion to VBA:
DoCmd.SendObject acQuery, "SENIORS DAILY REPORT", "Excel97-Excel2003Workbook(*.xls)", person@company.com, "", "", "SENIORS DAILY ESCALATION REPORT", "Good morning. Attached please find the Seniors Daily Report containing escalations for your review. Please be sure to prioritize the >30 day items. Thank you for your help.",, ""
But I'm getting the same results in terms of truncating.
Thank you for your help!
Lisa
On a daily basis, there are queries run, several including this Comments field, which are automated to be emailed out (via Outlook) to various people within our organization. This had been done by way of a macro and the EmailDatabaseObject command. The problem with this is that it truncates the memo field by the time it gets to Excel.
I've searched the forum and seen one solution was to Export and then copy and paste, but that doesn't help me in terms of automation. Can anyone help me? I tried just doing a simple conversion to VBA:
DoCmd.SendObject acQuery, "SENIORS DAILY REPORT", "Excel97-Excel2003Workbook(*.xls)", person@company.com, "", "", "SENIORS DAILY ESCALATION REPORT", "Good morning. Attached please find the Seniors Daily Report containing escalations for your review. Please be sure to prioritize the >30 day items. Thank you for your help.",, ""
But I'm getting the same results in terms of truncating.
Thank you for your help!
Lisa