Search results

  1. T

    Access 2007 - 2013

    So this is the error : The box has a title Microsoft Outlook The message is " We're sorry, but Microsoft Office has run into an error that is preventing it from working correctly. Microsoft Office will need to be closed as a result. WOuld you like to repair now? With the options : Repair...
  2. T

    Access 2007 - 2013

    Hmmm, just tested and it doesn't work. Everything else in the database seems fine, just this causing problems. Access throws a very polite but generic error message and asks me if I want to repair or close.
  3. T

    Access 2007 - 2013

    HI guys, Is there anything in this code that will stop me from upgrading to Office 2013 (so outlook and access 2013) Private Sub MailPackageWithPass_Click() On Error GoTo Err_MailPackageWithPass_Click Dim Signature As String Signature = "Kind regards," & Chr(13) & Chr(10) &...
  4. T

    Reference Sub Report

    That seems to work...will test some more and let you know!
  5. T

    Reference Sub Report

    The code is in the onload of the report.
  6. T

    Reference Sub Report

    I've re-opened the thread as something isn't quite right. I was using that code to set the .visible property to hide empty fields (they have a border). Whilst this works in print preview they aren't hidden when I generate a pdf.... Any ideas?
  7. T

    Reference Sub Report

    Yup, got it, sorted thanks!
  8. T

    Reference Sub Report

    Like this? If IsNull(Reports![PackageReportNew]![PackageDayReportNew].Report![Arrive2]) Then
  9. T

    Reference Sub Report

    Hi Guys, I can't seem to get this to work.... If Reports![PackageReportNew]![PackageDayReportNew].Report!IsNull([Arrive2]) Then Is the syntax correct or does the final! need to be followed by the field name? Arrive2 is a Date / Time field. Thanks!
  10. T

    Recordsetclone

    Ah...got it! Posting here always helps :) With Forms!Customer!Payments.Form.RecordsetClone End With
  11. T

    Recordsetclone

    I have the following bit of VBA which works like a charm : With CallNotes.Form.RecordsetClone .AddNew !CustomerRef = Me!CustomerRef !Who = Forms.markswitchboard!Text52 !Date = Now() !Notes = "Final Deposit Due on" & " " &...
  12. T

    Strangest Behaviour I've ever seen

    TO be honest, I just re-created the query and report from scratch and it work... I'm not going to worry about it... but I'm sure the image will entertain people :)
  13. T

    Strangest Behaviour I've ever seen

    The screenshot attached is taken from a report. This doesn't happen on a form. Any ideas what is causing this and how to solve it?
  14. T

    CanShrink doesn't shrink labels!

    After spending hours on this, I decided the neatest work round would be to include the label in the control... ="Arrive Time: " & [ArriveTime4] and then use this code in the OnLoad section of the report If Me.ArriveTimeCombo4 = "Arrive Time: " Then Me.ArriveTimeCombo4.Visible = False Else...
  15. T

    CanShrink doesn't shrink labels!

    Sorry to reply to such an old thread but I really can't get this to work on my reports! I have labels that I have converted to text boxes that I want to disappear if the control is empty and I can't get anythig to happen at all :(
  16. T

    Lookup Fields

    This worked... Me!FrmVenue.Form.Refresh Now I just want it to fire when I use the navigation buttons as well....
  17. T

    Lookup Fields

    They are linked... and they work fine until i put in the criteria to limit the options in the drop down
  18. T

    Lookup Fields

    Relating to combo box. I have one with a criteria on a subform to limit the user's options based on the main form. Problem is the field is blank until I refresh the subform by hitting F5. Can a subform be refreshed from the main form... what's the syntax?
  19. T

    What should be a simple filter....

    I have a subform and I want to filter it by location. In the header of the subform I have a dropdown that contains all the possible locations. I then have a button with the following code : Private Sub FilterLocBut_Click() Dim Filtertown As String Filtertown = "Location =" &...
  20. T

    Subform

    Got this sorted.
Top Bottom