Search results

  1. IMO

    Calendar Control - Stop Future Dates?

    Using some of the code from a past example from Mile, Ive messed it about a bit and come up with this. IMO
  2. IMO

    Calendar Control - Stop Future Dates?

    You'll have to code the calendar itself telling it to disable the buttons with a greater date than today when it's selected for the "txtReferralReceivedDate" field. IMO
  3. IMO

    Calendar Control - Stop Future Dates?

    You could try something like this in the LostFocus event of your TextBox Private Sub YourDateField_LostFocus() If Me.YourDateField > Date Then MsgBox "Your Message" Me.AnotherControl.SetFocus Me.YourDateField.SetFocus End If End Sub IMO
  4. IMO

    DCount - Counting Selected Records in a Report

    Glad you got it working IMO
  5. IMO

    DCount - Counting Selected Records in a Report

    I created a query that counts the records between the dates entered on the form, something like... SELECT Count(tblTheDate.TheDate) AS [Count] FROM tblTheDate WHERE (((tblTheDate.TheDate) Between [forms]![frmTheDate]![TxtDate1] And [forms]![frmTheDate]![TxtDate2])); and called it qryCountDate...
  6. IMO

    DCount - Counting Selected Records in a Report

    Have a look at the quick example I've done for you IMO
  7. IMO

    Forms button

    I don't think it's possible but you can create your own buttons with text on them and remove the standard buttons by opening the form in design view, goto the forms properties and select navigation buttons = No IMO
  8. IMO

    Forms button

    Do you mean the forms navigation buttons or buttons you have created? IMO
  9. IMO

    Cancel

    In the OnClick Event of your button... Private Sub YourButton_Click() DoCmd.RunCommand acCmdUndo DoCmd.Close End Sub IMO
  10. IMO

    Email A Message (not report or table)

    Or use this code... Private Sub YourButton_Click() Dim EmailApp, NameSpace, EmailSend As Object Set EmailApp = CreateObject("Outlook.Application") Set NameSpace = EmailApp.getNameSpace("MAPI") Set EmailSend = EmailApp.CreateItem(0) EmailSend.To =...
  11. IMO

    Select Blank Lines In Excel Sheet

    Thanks Fornatian, I'll give it a go. IMO
  12. IMO

    Select Blank Lines In Excel Sheet

    OK, I'm now getting the error: Run-time error '1004' Method 'Range' of object '_Global' failed. And the following code line is highlighted lngFirstBlankRow = Range("A1").End(xlDown).Row + 1 Any ideas?? IMO
  13. IMO

    Help Please (this is baffling me)

    Create a link to the spreadsheet in Access IMO
  14. IMO

    Controlling records on Report

    ISP probs Mich? IMO
  15. IMO

    Controlling records on Report

    LOL :) I think you're right Tich. :p :D IMO
  16. IMO

    Controlling records on Report

    OMO ? :confused: To print each group on a separate page, set the ForceNewPage property of the group header to Before Section or the ForceNewPage property of the group footer to After Section. IMO
  17. IMO

    Controlling records on Report

    To print each record on a separate page, set the ForceNewPage property of the detail section to After Section. IMO
  18. IMO

    Select Blank Lines In Excel Sheet

    No, just followed through :o :D I'll give that a try in the morning, see where it errors. Ive got to get to the pub now, my head feels like it's gonna explode! Cheers IMO
  19. IMO

    Select Blank Lines In Excel Sheet

    But if you do have any other ideas in the meantime, please let me know, I think I used all three of my brain cells getting this far! :D IMO
  20. IMO

    Select Blank Lines In Excel Sheet

    Thanks for giving it a shot, I'll keep trying and let you know the outcome. Thanks again for your time. IMO
Back
Top Bottom