473,480 Members | 1,854 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Problem in Data Request through ODBC ACCESS Driver

18 New Member
Hello All.
Specially ADejii.

I had generated a report in VB. For that purpose i am using ACCESS database. This database is connected via Microsoft Jet 4.0 OLE DB provider, and it is working well.

Now i has changed provider for other purpose so i am getting problems in report generation.

Provider : Microsoft OLE DB provider for ODBC Drivers
Connection Status : Test Connection Succeded.

Error in passing parameter obtained through text box in VB.
Expand|Select|Wrap|Line Numbers
  1. .command1 CDate(text1.Text)
I want to know that is it a valid method or not ? if not what should be the syntex.

Error : Run-time error '-2147217887 (80040e21)':
[microsoft][ODBC Microsoft Access Driver]Invalid precision value

Thanks.
Aug 17 '07 #1
1 2404
Stang02GT
1,208 Recognized Expert Top Contributor
Hello All.
Specially ADejii.

I had generated a report in VB. For that purpose i am using ACCESS database. This database is connected via Microsoft Jet 4.0 OLE DB provider, and it is working well.

Now i has changed provider for other purpose so i am getting problems in report generation.

Provider : Microsoft OLE DB provider for ODBC Drivers
Connection Status : Test Connection Succeded.

Error in passing parameter obtained through text box in VB.
Expand|Select|Wrap|Line Numbers
  1. .command1 CDate(text1.Text)
I want to know that is it a valid method or not ? if not what should be the syntex.

Error : Run-time error '-2147217887 (80040e21)':
[microsoft][ODBC Microsoft Access Driver]Invalid precision value

Thanks.


You said you have changed the provider and everything was working good before you made this change?

I have gotten some pretty goofy errors with linked databases and not using the correct drivers. I could be way off base here but i would just check to make sure that you are using the right driver and maybe undue the change that you made and see if things work again.
Aug 17 '07 #2

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

Similar topics

6
3561
by: Tom D. | last post by:
I just got a new computer. I transfered my web site files over and setup my access database system ODBC driver. I've compared settings on both computers. But when I run my web site code on new...
12
3188
by: Jerry Weinstein | last post by:
Hi, I know about stored procedures and that they can speed up data entry via the SQL 'insert ' statement. However, one drawback to this method is that using the stored procedure still requires...
0
4091
by: AlessanBar | last post by:
Hello Friends !! I have a strange problem, and I need to know what would be the source of this. I have a laptop computer with the following configuration: Pentium III Brand : Toshiba Speed :...
0
2978
by: TheAd01 | last post by:
In an Access97 application I fetch data from an Oracle database via a linked table (via Odbc/sqlnet). The Oracle database now upgrades from 7.3 to 8.0. The Oracle odbc driver I use (2.0.3.1,...
4
3556
by: Dave | last post by:
Hey guys, I have an ODBC problem that has me stumped. I wrote a VBA script to run in Microsoft Excel that pulls data out of an application using that application's ODBC driver and puts it into...
1
2339
by: Sonya | last post by:
Hello, I have trouble connecting to Access database from my web service. Database is located in a subdirectory of where service pages are. Code below produces the following exception: "No error...
6
2429
by: Mikey G | last post by:
Hi, Here is a shorter code example since the last message I posted got truncated. So the problem is I created a simple VB.NET 2003 application through Visual Studio that connects to a MySQL...
1
1608
by: m23 | last post by:
Hi, I have an access application that has been working fine for the past few years.Access 2000 is used for the user interface and Oracle the database. Recently the application was moved to a...
0
1166
by: Aahz | last post by:
I have asp.net web site that connects on mysql databse via ODBC. From time to time it happen that connection is just being lost by itself, visitor got error message. Then I just log into my control...
0
7054
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
7102
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...
1
6756
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7003
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5357
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3008
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3000
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
570
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
199
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.