Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. sophiet

    ActiveX Egg Timer

    Ok ok - I have to say that having asked a bunch of IT geeks who sit around me, they all agreed that it was called an egg timer.
  2. sophiet

    ActiveX Egg Timer

    Does anyone know if there is an ActiveX Egg Timer that can be used and if not what could be used instead? Thanks
  3. sophiet

    Sending word documents as email attachments from access 2000

    Thanks Peter I've declared the word application as an object or else I get a runtime error when trying to run the code for the second time. You don't know if there's anything that works with any email application do you (I wanted to include groupwise etc) - if not then I'll stick with this.
  4. sophiet

    Sending word documents as email attachments from access 2000

    I'm trying to email out a word document as an email attachment from Access 2000. The code I'm using (that doesn't work) is: Dim objword As Word.Application Dim odoc As Word.Document Set objword = CreateObject("Word.Application") With objword .Visible = True...
  5. sophiet

    Sending out an email as a word document attachment from Access

    I'm trying to email out a word document as an email attachment from Access 2000. The code I'm using (that doesn't work) is: Dim objword As Word.Application Dim odoc As Word.Document Set objword = CreateObject("Word.Application") With objword .Visible = True...
  6. sophiet

    Formatting a textbox background

    On the on current event of the form: If Me.MyCheck = 0 Then Me.MyText.BackColor = RGB(155, 155, 155) Else Me.MyText.BackColor = RGB(0, 0, 0) End If
  7. sophiet

    Disable all fields in the subform based on value in main form

    Why don't you just disallow edits form.allowedits = false
  8. sophiet

    Err 2113: The value you entered isn't valid for this field

    Hi PH Thanks - that's totally fixed it. Sophie
  9. sophiet

    starting a form to a new record

    Unless you want the user to be able to access previous records in which case put the code form_Open: docmd.GoToRecord,,acNewRec
  10. sophiet

    record is saved just by tabbing through controls - can i stop this

    just type in add_record into the YourCommandButtonName_Click procedure.
  11. sophiet

    record is saved just by tabbing through controls - can i stop this

    Olly Here you go: Public Sub Add_Record() Dim MyDB As Database Dim MyRst As Recordset Set MyDB = CurrentDb ' dbOpenTable is default. Set MyRst = _ MyDB.OpenRecordset("Name of your table") With MyRst 'bit that I wrote before .Close End With...
  12. sophiet

    record is saved just by tabbing through controls - can i stop this

    Olly Delete the record source from the form and dlete the 'control source' from each field. It doesn't matter if your combo box is looking up values from another table - you can keep the row source in for your fields. They'll still be unbound. Put this code in to add a new record to your...
  13. sophiet

    Err 2113: The value you entered isn't valid for this field

    I've already got the code for that but I'm having problems with where to trap the error. If I put it in the after update of the date field then I get the microsoft error message and then my error message. If it's in the on_error of the form it doesn't appear at all. thanks
  14. sophiet

    record is saved just by tabbing through controls - can i stop this

    The only way I've done that is by not binding the form to the table, having all the fields as unbound fields and then saving the contents of the fields to a recordset on the on_click function. Does that make sense?
  15. sophiet

    Err 2113: The value you entered isn't valid for this field

    I have a date field on my form that gives the above error message if anything other than a date's entered. I've tried customising the error handler in both after_update of the date field in form_error neither of which seems to work. Can anyone help please? Thanks

Part and Inventory Search

Back
Top