Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2004
    Posts
    8

    Unanswered: How to Load OLE Objects from a Folder into a Table

    I am trying to do this using a article from MS Knowledge Base.

    http://support.microsoft.com/default...b;en-us;158941


    Can some one tell me what could possible give me this error.

    Compile error.
    "Method or Data Member not found"

  2. #2
    Join Date
    Nov 2003
    Posts
    1,487
    There is a item in your code that has not been declared yet such as a variable or object - this most often happens due to a typing error on your part . When the Error is detected, you should be pointed directly to the source of the problem (highlighted) if you select the [Debug] button from the Error message window. If not...then use the Compile And Save All Modules menu item located under the Debug menu. This will stick a nail right onto the problem spot (..so to speak).

    Need to see the procedure code to say for sure.

  3. #3
    Join Date
    Nov 2003
    Location
    Europe
    Posts
    369
    Originally posted by CyberLynx
    If not...then use the Compile And Save All Modules menu item located under the Debug menu. This will stick a nail right onto the problem spot (..so to speak).
    What exactly happens when compiling and saving the modules?

  4. #4
    Join Date
    Nov 2003
    Posts
    1,487
    Compile and Save will actually run through the code to test if it is OK without all the other Access overhead (so to speak) such as opening and displaying Forms, etc.. The auto-syntax checking does not pick up coding errors such declarations, non closed While, With, Select, If, etc., statements. Running the code picks up those errors.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •