Search results

  1. M

    DSN less ODBC Connection iSeries

    Hi all, I've hit a bit of a wall with a current project. I have a Access 2010 32-bit database that is linked via ODBC to an IBM iSeries. This application runs various checks and needs to update a table. It works fine when I use it on my PC with a System DSN connection. However, this is...
  2. M

    Updating Navigation subform from another form

    I got this to work. If anyone is interested, to requery a subform when used in a form that is in a navigation form use: Forms("ActualNameOfMainNavigationSubform").Form("NavigationSubform").Form.whateveryouaretryingtoaccess Credit to the person who solved it...
  3. M

    runtime error 3201

    its ok I solved it. Just added: DoCmd.RefreshRecord to the button used to open the search items form.
  4. M

    runtime error 3201

    Ok, in a nutshell: tblCustomers has a one to many to tblJobHead (referential integrity) tblCustomers PK = RepNum tblJobHead FK = RepNum Within a navigation form, I have a form that contains the tblCustomer info in the header section and the tblJobHead in the detail. I also have a button...
  5. M

    Updating Navigation subform from another form

    When I use the expression builder and drill down loaded forms etc, it just displays a blank window in Expression Categories.
  6. M

    Updating Navigation subform from another form

    Ah yes, but you can't access the expression builder from VBA in Access 2010
  7. M

    Updating Navigation subform from another form

    I've tried this: Forms!frmMain!NavigationSubform.Form!frmJobHeadsubform.Form.Requery But it says it cannot find 'frmJobHeadsubform' Check spelling and it is correct...
  8. M

    Updating Navigation subform from another form

    Hi Paul, It is located on another pop up form. Regards, Michael
  9. M

    Updating Navigation subform from another form

    Hi all, I'm using Access 2010 and need to update a sub form in a form that is within a navigation form. So it goes: Navigation Form > Main Form > Subform How do I do this? I've attatched the following to a click event of a cmd button but I just can't get it to work...
  10. M

    Mail Merge - Dynamic subject line?

    I have a working access db sending emails via the CDO Object Library. I sends email based on a txt file template that has dynamic fields e.g. name, order number etc. For the actual send mail bit, use this: Function SendMail(strTo, strFrom, strSubject, strBody, msgType) Set objCDOConf =...
  11. M

    Access 2010 to IBM iSeries DSN less

    Hello, I am trying to create a DSN less connection from Access 2010 (32 bit) to an IBM iSeries. The below thread shows the coding: http://www.connectionstrings.com/ibm-iseries-access-odbc-driver/ But I am a little stuck. How do I incorporate this into my database? Do I create a module and...
  12. M

    Mail Merge - Dynamic subject line?

    Thanks for getting back to me. I managed to resolve this though.
  13. M

    VBA dynamic email merge

    Its ok, I finally got it working, here is the code: Private Sub Document_Open() Dim intSourceRecord Dim objMerge As Word.MailMerge Dim bTerminateMerge As Boolean ' If no data source has been defined, do it here using OpenDataSource. ' But if it is already defined in the document, you should...
  14. M

    VBA dynamic email merge

    Hello, Thank you for this. I need to send from email addresses contained in an Access 2010 database and the mails need to appear as if they are only being sent to the sender and no one else. How would I configure the below code to do this? Regards, Michael
  15. M

    VBA dynamic email merge

    Thanks for the reply - yes I have access to an Exchange server. What is CDO?
  16. M

    Mail Merge - Dynamic subject line?

    I have a Word 2010 document linked to an Access 2010 data source. When a user clicks a button in Access, the Word document loads and performs a email merge using the below VBA code: Private Sub Document_Open() With ActiveDocument.MailMerge .Destination = wdSendToEmail .SuppressBlankLines = True...
  17. M

    VBA dynamic email merge

    I have a Word 2010 document linked to an Access 2010 data source. When a user clicks a button in Access, the Word document loads and performs a email merge using the below VBA code: Private Sub Document_Open() With ActiveDocument.MailMerge .Destination = wdSendToEmail...
  18. M

    Image Visibility

    Field 1 is a textbox.
  19. M

    Image Visibility

    Hey Paul, I got this to work but it's not ideal. Basically if I add another text box in the detail section then for it's control source state if Field1 = "ABC" then YES else NO, then in the Detail On Format enter the following: Private Sub Detail_Format(Cancel As Integer, FormatCount As...
  20. M

    Image Visibility

    Apologies Paul, Yes I tried this in the On Current event of the report and got nothing, but if I put the code into the Detail On Format event, I do get the pop up, so it must be something specific about the image properties... Regards, Michael
Top Bottom