Results 1 to 7 of 7
  1. #1
    hawkins is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Jun 2011
    Posts
    82

    Application-defined or object-defined error


    I have created a query to get a bunch of information for a specific year and name. I went to create the subreport using the wizard for my report but I receive an application-defined or object-defined error. I have deteremined the problem but I do not know how to fix it. When I was creating the tables I had inserted the wrong name and the column is no longer there but it still comes up in the table information when I created the query but does not show in the table. The name of the column that is 'hidden' is DemAmpAJan but the one I can see/want is called DemAmpsAJan. Any suggestions on how to completely delete his 'hidden' column would be greatly appreciated.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Have you tried a Compact and Repair? How about *importing* everything into a fresh new db? http://www.btabdevelopment.com/ts/impnew

  3. #3
    hawkins is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Jun 2011
    Posts
    82
    I did both of those and even imported everything but that one table and re-entered in all the data and relationships but still get the same error.

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922

  5. #5
    hawkins is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Jun 2011
    Posts
    82
    for some reason that didnt work either. I have attached a zip file of my database if you could look at it and see if theres something simple I am missing. What I am trying to do is drag the YearlyQuery into the MainRep report so that I can show the yearly information for 2010 but I receive that error. Also I was wondering why when I put the report into print preview the first page is what I want and then there is 2 blank pages then the rest of the pages arent the exact same as the first page. Thank you for your help!

  6. #6
    hawkins is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Jun 2011
    Posts
    82
    I ended up figuring it out. The query had too many columns in it.....

  7. #7
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Excellent! Are you ready to use the Thread Tools at the top of the thread and mark this thread as Solved?

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Compile error. Sub of function not defined
    By plavookins in forum Reports
    Replies: 7
    Last Post: 04-22-2011, 10:15 AM
  2. Replies: 1
    Last Post: 02-22-2011, 06:10 AM
  3. "Too many fields defined" error
    By Matthieu in forum Queries
    Replies: 1
    Last Post: 01-28-2010, 08:55 PM
  4. Error: "User-defined type not defined"
    By mastromb in forum Programming
    Replies: 10
    Last Post: 01-08-2010, 02:57 PM
  5. Replies: 23
    Last Post: 03-26-2009, 06:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums