Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8485801
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T20:45:02+00:00 2026-06-10T20:45:02+00:00

I have a MS Access 2010 application that is linked to MS SQL 2008

  • 0

I have a MS Access 2010 application that is linked to MS SQL 2008 in the back end.

When I run the application, I encounter a run-time error ‘2467’ – The expression you entered refers to an object that is closed or doesn’t exists.

When I select Debug, the line points to:

Forms!FRM_MAIN_HOME!FRM_SUB_EDIT.Form.RecordSource =

I’ve run the query in the SSMS and works fine.

I’ve looked for missing references, and there aren’t any.

When I run the application with Shift to present the forms, I get a different error: Data Type mismatch in criteria expression. This time I don’t have a debug option, but I suspect that this is the real issue.

One more thing: when I run this application on a different database, it loads with no errors.

Any help is much appreciated.

Thanks.


Forms!FRM_MAIN_HOME!FRM_SUB_EDIT.Form.RecordSource = _
   "SELECT V.VendorNumber, V.VendorName, T.DocumentNumber, " _
   & "T.DocumentDate, T.AmountInc, T.GSTClaim, T.GSTBatch " _
   & "FROM TBL_VENDOR_MASTER AS V INNER JOIN TBL_GST_01_TRANSACTIONS AS T " _ 
   & "ON V.AAVendorID = T.AAVendorID WHERE T.GSTBatch =" _
   & Me.BATCH_NUM & " ORDER BY V.VendorName" 

When I run this code in the SSMS, it works just fine. Also, when I select a different database, it works without any errors.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T20:45:04+00:00Added an answer on June 10, 2026 at 8:45 pm

    The issue seems to be related to some memory issues as the tables are quite large (and my machine is not the fastest…), but the error messages that appeared while MS Access is running (every time I click on a field, a tab, or anything really, I’d get the same error, just without the Debug option), is related to a table I have that MS Access didn’t like one of the fields I had there.

    To troubleshoot this error, I loaded an older backup, and started updating some columns and testing MS Access, until I found the problem. Also, I added some indexes, and changed the default time-out for ODBC to 0 (unlimited) in the registry.

    That seemed to fix this problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application written in MS Access 2007-2010 and a back end is
I have a MS Access 2010 application with an item table that stores the
I have an application I'm supporting that manages instances of MS Access 2010. I've
Hi I have a application designed in access 2003 that has its front-end and
We have multi user frontend/backend MS Access 2010 application. We added a process that
I have an application that works fine in Visual Studios 2008, and I am
I have written an application in Delphi 2010 that imports data from one database
I have an asp.net application that i am modifying. I setup visual studio 2010
I have an asp.net web application (c#) in visual studio 2010 that is heavily
I have some access applications that connect to a SQL Server database. The applications

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.