Dear All
I’m trying to get a procedure up and running that will create a number of Word Documents and then attach them to an Outlook email. Now I’ve got my head around the automation for OutLook and Word, the problem is that there could any number of Word Documents from 0 to 20 plus.
I’m thinking that using a temporary recordset in code might be a nice solution to this, but I’m unsure as to exactly how to go about it! So, what should I be looking up in the help files to get me moving? I can define recordsets (Dim Rst as DAO.Recordset), I can populate the record set from a SQL string, what I want to do is to add a new record to the record set each time I create a document. The document name will be held in a string variable temporarily. So, what do I need to do to get that variable value into a temporary recordset?
Hope this makes sense.
Ian