473,406 Members | 2,208 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,406 software developers and data experts.

Error Recovery

Hi i m huzain

i m using vb and ms-access and strFilter command also.i got a error
for an data type mismatch
error the code below is there
Case "BE_Invoice"

strSQL = "Select BEDocNo,Inv_Sr_No,Inv_No from b_Invoice"
strFilter = "BEDocNo=" & frmBEJob.txtJobno
this code contain the table name is an b_invoices it should having an
fields like
BDcoc,Inv_Sr_No,Inv_no
this above fields daty type is an "Text"

i got a error for an "3464 Data type mismatch error"
whenever the i to press the Debug it should go for an
module under below

Set GetRec = IECDB.OpenRecordset(strSQL)
the error will goes to this code
please clear me

Mar 5 '07 #1
1 1873
If this line gives the error:
Set GetRec = IECDB.OpenRecordset(strSQL)
how did you declare GetRec?

If you used:
Dim GetRec As Recordset
try:
Dim GetRec As DAO.Recordset
Explanation:
http://allenbrowne.com/ser-38.html

If you open table b_Invoice in design view, what data type is the BEDocNo
field? If text you need extra quotes:
strFilter = "BEDocNo = """ & frmBEJob.txtJobno & """"
Explanation:
http://allenbrowne.com/casu-17.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

<hu*****@gmail.comwrote in message
news:11**********************@h3g2000cwc.googlegro ups.com...
Hi i m huzain

i m using vb and ms-access and strFilter command also.i got a error
for an data type mismatch
error the code below is there

Case "BE_Invoice"

strSQL = "Select BEDocNo,Inv_Sr_No,Inv_No from b_Invoice"
strFilter = "BEDocNo=" & frmBEJob.txtJobno

this code contain the table name is an b_invoices it should having an
fields like
BDcoc,Inv_Sr_No,Inv_no
this above fields daty type is an "Text"

i got a error for an "3464 Data type mismatch error"
whenever the i to press the Debug it should go for an
module under below

Set GetRec = IECDB.OpenRecordset(strSQL)

the error will goes to this code

please clear me
Mar 5 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Rene | last post by:
Hi, While restoring the log we receive a message after about 30 minutes: Processed 1152109 pages for database 'restest', file 'sales_Log' on file 1 Server: Msg 9004, Leverl 21, State 20, Line...
37
by: jwaixs | last post by:
arg... I've lost 1.5 hours of my precious time to try letting re work correcty. There's really not a single good re tutorial or documentation I could found! There are only reference, and if you...
10
by: xixi | last post by:
i have db2 udb v8.1 on windows 64 bit 2003 server, after db2 server start , i found this in the db2diag.log, is this error? 2004-05-05-15.28.30.780000 Instance:DB2 Node:000...
5
by: Udy | last post by:
Hi, We have a custom application used by a customer on DB2 8.1.5 AIX 5.1, we have tested it with 8.1.0 AIX 5.1 and everything works fine. But with 8.1.5 we get the above error. The other...
5
by: NG | last post by:
Hi, We are having DB2-V7.2 DB on AIX 5.2 machine. Recently we upgraded our system to fixpack 13 and activated activate AIX asynchronous IO function. Our DB is going to crash recovery with...
0
by: Gary Carson | last post by:
Can anyone tell why the query below would throw a divide-by-zero error? The only reason I can see for the error happening would be if SUM() came out to be zero, but this never happens with the...
3
by: danceli | last post by:
"The log file for database is full. Back up the transaction log for the database to free up some log space." Now I only know this way to deal with that manually, Step1. in option , chance...
1
by: anoop76 | last post by:
Dear Guru's. I am new to DB2, but in the stand by database i am issuing all forms of rollforward db commands but to no avail as 4 log files have been corrupted. Even the production and...
0
by: pavankumarveera | last post by:
how to unblock the CF below error what was the solution. GES: Potential blocker (pid=282) on resource CF-00000000-00000000; enqueue info in file...
0
by: Winder | last post by:
Computer Data Recovery Help 24/7 Data recovering tools and services is our focus. We will recover your data in a cost effective and efficient manner. We recover all operating systems and media....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.