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 IamaSherpa 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. watercooled81

    Run Time Error 1004 Application-defined or object-defined error - worked in 2003 before 2010 upgrade

    Interestingly - I am getting the same problem but a different error message appears now. Again, click debug then execute and the code carrys on fine. Run-time error'-2147417859 (80010100)': Method 'CopyFromRecordset' of object 'Range' failed
  2. watercooled81

    Run Time Error 1004 Application-defined or object-defined error - worked in 2003 before 2010 upgrade

    Hi Genomon, My code has not worked out, so tried DAO-ing but still the same issue. I cant understand why it works perfectly fine in 2010 but in 2003, it has issues, but as soon as you excute the code again it works..
  3. watercooled81

    Run Time Error 1004 Application-defined or object-defined error - worked in 2003 before 2010 upgrade

    Hi All. Not the best of solutions, but used the Error handler code to rerun the code. Not the correct way to use it I know, but as the script had originally been running for a number of years without issue. The risk is low; Dim Errorsfound As Integer On Error GoTo Errorfound 'Due to the...
  4. watercooled81

    Run Time Error 1004 Application-defined or object-defined error - worked in 2003 before 2010 upgrade

    This is a strange one I hope someone could help with; The code worked fine, in 2003, the database was open and code was ran in access 2010. Since then the code works fine in 2010 but the following error appears in 2003. "Run-time error '1004': Application-defined or object-defined error. I...
  5. watercooled81

    Search Engine - VBA - Filtering a subform datasheet

    Search Engine - Filtering a datasheet subform from a textbox on main form. Hopefully someone can help, as I am trying to make a search function in one of my databases. I have a Main form (named Main) which has a number of subforms on it. I have put the subforms on different pages. The form I...
  6. watercooled81

    Help Setting Date Format in VBA to YYYYMMDD

    Works a treat..... Thank you so much!!!
  7. watercooled81

    Help Setting Date Format in VBA to YYYYMMDD

    Hi I need help with setting a date format. I have a number of reports that come in with a file name YYYYMMDD - Unweighted.xls So I wrote the following code (I am very new to VBA) and thought I was on to a winner, but then during testing I realised 'ThisMondate' was just a number ie 20110704 and...

Part and Inventory Search

Back
Top