473,385 Members | 1,824 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.

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 1871
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....
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...

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.