Search results

  1. IMO

    Text truncated in report

    Try exporting the query or table the report is based on rather than the report itself. IMO
  2. IMO

    Trim Function

    You can place the following in an unbound text field to get the first name.... =Left([YourTextField],InStr([YourTextField]," ")) And =Mid([YourTextField],InStr([YourTextField]," ")) to get the last Name. IMO
  3. IMO

    Trim Function

    Not sure what you mean, do you want to separate the words a put them in individual fields? IMO
  4. IMO

    Selct some posts of long list

    This may help. IMO
  5. IMO

    Combo Box giving run time error

    Make sure you have a reference set for 'Microsoft DAO 3.6 Object Library'. Open a form in design view, goto View >> Code..... Tools >> references and select it from the list. IMO
  6. IMO

    SnapShot file

    For the button you will need to create a macro and drag it onto the menu bar. IMO
  7. IMO

    Autokeys?

    Re: Currently selected text box? I'm not sure how, or even if it is possible to restrict the spell checker. Sorry. Rather than creating buttons for the zoom, place the code in the double click event of the text box... Private Sub YourTextBox_DblClick(Cancel As Integer) DoCmd.RunCommand...
  8. IMO

    Returning data to a control

    How many text boxes do you need to fill from the popup? IMO
  9. IMO

    Force Datasheet View

    In the Click event of your button... DoCmd.OpenForm "NameOfYourForm", acFormDS IMO
  10. IMO

    Needs Help Please

    How about posting a "thank you" now and again! http://www.access-programmers.co.uk/forums/showthread.php?s=&postid=222046#post222046 http://www.access-programmers.co.uk/forums/showthread.php?s=&threadid=50717 http://www.access-programmers.co.uk/forums/showthread.php?s=&threadid=49974 IMO
  11. IMO

    Autokeys?

    In the DoubleClick event of the field you want to Zoom.. DoCmd.RunCommand acCmdZoomBox or if you really want a button, this in the OnClick event... Me.YourTextBox.SetFocus DoCmd.RunCommand acCmdZoomBox and in the OnClick event of the spell check button DoCmd.RunCommand acCmdSpelling IMO
  12. IMO

    word macro help

    I'm not sure but could this help? Sub AutoOPen() Dim strActivePrinter As String strActivePrinter = Application.ActivePrinter ' Change printer Application.ActivePrinter = "\\Server02\blah blah" 'Your print command here ' Reset printer to original...
  13. IMO

    Needs Guildance please

    Here you are. The best way to prevent your second question is to disable the mouse scroll. IMO
  14. IMO

    Form - re-sort button

    It works fine for me. Post a stripped down version of your db and I'll take a look. IMO
  15. IMO

    VBA or Macro in Excell

    I think this link will be helpful for you. Look at "Conditional select cells" and download ASAP Utilities. IMO
  16. IMO

    clock - time display

    Re: caption ?? A label. I think you may have to put this in the OnTimer event Me!lblCurrentTime .Caption = Format(Now, "hh:mm:ss") IMO
  17. IMO

    Date field problem

    Sorry, forgot this bit, make sure you set the "Format" for each Date field to "Short Date" that way it's not possible to enter anything but a correct Date. IMO
  18. IMO

    Date field problem

    In the Before Update event of the "EndDate" field... Private Sub txtEndDate_BeforeUpdate(Cancel As Integer) If Me.txtStartDate > Me.txtEndDate Then MsgBox "The Expected finish Date Can't be earlier than the Start Date" DoCmd.CancelEvent End If End Sub IMO
  19. IMO

    Selecting all textbox text on GotFocus

    I think this would have been better posted in the General forum, but here's one way to get the result you'd like. Create a text Box on your form, set the back style and border style to transparent and the Width/height to "0.00". In the Click event of the fields you'd like to highlight put the...
  20. IMO

    something up with this before update code?

    If MsgBox("Do you wish to save the changes?", vbYesNo, "Save?") = vbYes Then DoCmd.RunCommand acCmdSaveRecord Else DoCmd.CancelEvent End If
Back
Top Bottom