473,385 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

"The Microsoft Access database engine cannot find the input table or query 'Huollot'.

My program is working fine (windows forms and access database) and tables that I have done in beginning of the project are also being read and updated.

Now I needed to add a new element to a program which needed another table, which I added to access database. Information of the table is used in datagridwiev which I added to a form. After choosing the table as a datasource the program add following code, which then does not work.

Expand|Select|Wrap|Line Numbers
  1. private void Huollot_Load(object sender, EventArgs e)
  2.  {
  3.  // TODO: This line of code loads data into the 'harjoitustyoDatabaseDataSet.Huollot' table. You can move, or remove it, as needed.
  4.             this.huollotTableAdapter.Fill(this.harjoitustyoDatabaseDataSet.Huollot);
  5. }
the error code again "The Microsoft Access database engine cannot find the input table or query 'Huollot'. Make sure it exists and that its name is spelled correctly."

I would be so gratefull of any help whith this topic.
Dec 30 '13 #1

✓ answered by zmbd

IsInTrouble:
The error is fairly straight forward, you either have a typo in the table name in the code, or the connection you have made to the database does not include the table.

1) You need to make sure that the names match between the code and the database.

2) You need to check to make sure that you are connecting to the correct database file.

3 19629
zmbd
5,501 Expert Mod 4TB
IsInTrouble:
The error is fairly straight forward, you either have a typo in the table name in the code, or the connection you have made to the database does not include the table.

1) You need to make sure that the names match between the code and the database.

2) You need to check to make sure that you are connecting to the correct database file.
Dec 30 '13 #2
Right you are. Checked files once again and found two databases. Deleted other one, refreshed connections and now it's working just fine. Thanks for your help!
Jan 4 '14 #3
zmbd
5,501 Expert Mod 4TB
I always like the simple fixes... they're the best (^_^)
Glad I could help!
BOL w/remainder of the project!
Jan 4 '14 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Paul | last post by:
Hello, I know there are other messages concerning this error message, but they all look so confusing to me. I have an application that uses an Access database. No problems with permissions....
0
by: Dejan M. | last post by:
Please can you help me with this problem: In the next form, when I Add new person who is not registered in the base I had the massage: The Microsoft Jet database engine cannot find a record in...
2
by: dskillingstad | last post by:
I'm building a tracking system and I'm having some problems. I thought this was relatively easy, but.... I have the following tables and fields (abbreviated): tblPermitMain PermitID - pk...
17
by: MLH | last post by:
The Microsoft Jt database engine can not find tblJobSites, error #3078. That's what I get when executing this code... Private Sub Command1_Click() Dim MyWorkspace As Workspace Set MyWorkspace...
5
by: Dave | last post by:
This is my first .NET project (although I am experienced with VS6 and InterDev). I am simply trying to set up a basic ASPX project and connect to an Access database (following the instructions in...
3
by: Neal | last post by:
Hi All I am trying to connect from ASP.Net app to an Access Db. If i don't specify a userid an pwd.. I get this error The Microsoft Jet database engine cannot open the file 'C:\Documents and...
1
by: 1978fx | last post by:
I'm trying to EXPORT the results of a query to a CSV file. I've been doing this, using different queries, for WEEKS, with no problems. This file always thinks that the resulting export file is...
1
by: babyjek | last post by:
SELECT ProjectID, ProjectName, ProjectDescription, SequenceNumber, LastUpdateDate FROM Project WHERE ProjectID = @ProjectID; (The Microsoft Jet database engine cannot find the input table or...
2
by: =?Utf-8?B?c25henp5?= | last post by:
I have created an web application using Visual Studio 2008. The application works OK in Debug. However it does not work after publish. The following message appers "The Microsoft Jet database...
2
by: Mr Key | last post by:
Hi all, I have a parameter query running from myform named MainForm,(on AC2010) After a selection on the Combox from MainForm I wish I could always open the data according to parametersQuery...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.