Recent content by Dougalsworld

  1. D

    Update Blank Cells Query

    OK, Slight update I'm pretty sure the way I need to do this is to look up the FIRST new description and update to the FIRST available ID...this I can do... What I need is a looped IF statement that does something similar to the below (please not this is not my attempt at VBA...just a layman's...
  2. D

    Update Blank Cells Query

    Hi All, I have what I'm hoping is a simple update query...just can't get my head round it (might need some coding) Table 1 ID..........Description A...........Tools B........... C........... D........... Table 2 Description Requests Tools Accessories Kits This is an exercise to assign new...
  3. D

    Update Main form after Updating Subform

    Hi All, I'm sure there is a simple solution to this problem but I just can't find it, and looking on this forum i can find several ways to refresh the subform but not the main I have a Form and a subform (frmMaster and sub_Paid) on the subform, sub_Paid I have a field called dblPaidValue this...
  4. D

    Linking a query to excel that changes in size

    How would I export the query? I know how to do a basic export, but this creates a whole new Excel file, and is quite manual...I need to export the data to an existing excel file, and preferably automatically so I do not need to manually trigger the export? Kind regards Paul
  5. D

    Linking a query to excel that changes in size

    Hi All, Have searched the forums for an answer to this (hopefully simple) question. I have a query out of access that displays the completed actions for a previous month. I take this and paste it into an excel file that contains the monthly scorecards. Now in an ideal world I would link this...
  6. D

    Adding an attachement to an email

    .Attachments.Add = "[txtTM]" should read .Attachments.Add ([txtTM])
  7. D

    Adding an attachement to an email

    Hi folks I have a database that arranges training sessions. It sends out the meeting requests automatically. What I'm trying to do is add ann attachment to the mail...now I know how to do this by manually adding the file location, problem is the attachement is a different file for every...
  8. D

    EMail to multiple receipents

    If you want to send to multiple recipiants you can put the address list together as a string. I've use it on an outlook appointment Item I basically set up a hidden combobox that concatenated the email field with ";" seperators, I then use this to get the .To value from It is basically three...
  9. D

    Using Mailitem to send multiple emails

    Ok another revision I now have found some code that looks like it should work, but fails [part the way through. It basically looks up the query with the email addresses in and sends the first one ok but then does not move to the next record. Instead I get the following error: Run-Time Error...
  10. D

    Listbox query

    I do something similar where I have a combobow with types of training sessions (cboCourseList) and when I select this I want a second combobox (cboCourseDate) to only show the dates from tbl_Sessions where the selected course is available. I would have thought it would work the same way for a...
  11. D

    Using Mailitem to send multiple emails

    Equally if somone knows how to use SendObject to send a voting button that would also be a way round this, although I'm pretty sure this cant be done
  12. D

    Using Mailitem to send multiple emails

    Hi Folks I have searched and searched on this forum and the web for a solution, so far to no avail. I basically need to send on the click of a button a mail independently to several people (1 email per person) Now I have a way to do this using a loop function using recordsets and the...
  13. D

    Adding Voting Buttons to an email

    I had a nasty suspicion that might be the case, damn and blast these people that keep changing their requirements! thanks for the info!
  14. D

    Adding Voting Buttons to an email

    I know there is a votingoptions command for mailitems but as this is not a mial item I don't know how to get round it?
  15. D

    Adding Voting Buttons to an email

    hi folks I've had a search on the forum to no avail... I have the following code that sends an email... Dim MyDb As DAO.Database Dim rsEmail As DAO.Recordset Dim sToName As String Dim sccname As String Dim sSubject As String Dim sMessageBody As String Set MyDb = CurrentDb() Me.Refresh Set...
Back
Top Bottom