473,387 Members | 1,624 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,387 software developers and data experts.

A2K: type mismatch error where there was none before

I'm really worried my db is falling apart!

I'm now getting;

"Run-time error: 13

Type mismatch"
When I run faq_DisableShiftKeyBypass in the immediate window. This is a
reference to the standard code to disable the ability to hit shift to get
into a database on start up.

It falls over at;

Set prop = db.CreateProperty("AllowByPassKey", _
dbBoolean, False)
I dug up quite an old version and it seems to be ok. Assuming there is
some sort of corruption going on how can I deal with it? I have decompiled
and compacted the database but that hasn't helped.

thanks
Martin
Jan 29 '07 #1
2 1909

"Deano" <de***@mailinator.comwrote in message
news:45**********************@ptn-nntp-reader02.plus.net...
I'm really worried my db is falling apart!

I'm now getting;

"Run-time error: 13

Type mismatch"
When I run faq_DisableShiftKeyBypass in the immediate window. This is a
reference to the standard code to disable the ability to hit shift to get
into a database on start up.

It falls over at;

Set prop = db.CreateProperty("AllowByPassKey", _
dbBoolean, False)
I dug up quite an old version and it seems to be ok. Assuming there is
some sort of corruption going on how can I deal with it? I have
decompiled
and compacted the database but that hasn't helped.
For ther record I got this fixed - notice an old post on the group re the
DAO reference. I then saw that this reference was not in the position I
expected it to be. I moved it up a few places and all, so far, seems well.
Jan 30 '07 #2
On Mon, 29 Jan 2007 20:31:01 -0000, "Deano" <de***@mailinator.com>
wrote:

Did you set the DAO object model in Tools References?
Are "prop" and "db" declared correctly?

-Tom.
>I'm really worried my db is falling apart!

I'm now getting;

"Run-time error: 13

Type mismatch"
When I run faq_DisableShiftKeyBypass in the immediate window. This is a
reference to the standard code to disable the ability to hit shift to get
into a database on start up.

It falls over at;

Set prop = db.CreateProperty("AllowByPassKey", _
dbBoolean, False)
I dug up quite an old version and it seems to be ok. Assuming there is
some sort of corruption going on how can I deal with it? I have decompiled
and compacted the database but that hasn't helped.

thanks
Martin
Jan 31 '07 #3

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

Similar topics

4
by: Laura | last post by:
Help. Below is my code. Getting Type mismatch error on the noted line. I'm trying to send an array (aryNewD) with 4 columns and x rows to a function to save all the array info into a SQL Server...
5
by: Arun Wadhawan | last post by:
Hello MY SQL Server is causing me this problem : Microsoft VBScript runtime error '800a000d' Type mismatch: 'ident' >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I am getting from...
1
by: Mark | last post by:
Hi - I tried this in VS.Net, and also in the Web Matrix code below: - but I am getting a type mismatch error. The sql statement runs perfectly from within the Access Query Designer. Can anyone...
4
by: Mike | last post by:
I am getting a type mismatch error when I do a bulk insert. ---Begin Error Msg--- Server: Msg 4864, Level 16, State 1, Line 1 Bulk insert data conversion error (type mismatch) for row 1, column...
10
by: Arno R | last post by:
Hi all Yesterday I found a strange corruption-issue that I can't solve yet or actually point my finger at. I converted an A97 app to A2k. I have done this often enough so I didn't expect trouble...
0
by: news.paradise.net.nz | last post by:
I have been developing access databases for over 5 years. I have a large database and I have struck this problem with it before but can find nothing in help or online. Access 2000 I have a query...
19
by: sara | last post by:
I am getting "Type Mismatch Error" when the following code executes. I am trying to notify the user if she attempts to add a customer with the same FirstName, LastName, Address(line1) and City as...
19
by: zz12 | last post by:
Hello, is there a setting in IIS 5.0 that would quickly fix the following error?: Microsoft VBScript runtime (0x800A000D) Type mismatch It's strange because some of our .asp pages were...
2
DonRayner
by: DonRayner | last post by:
This one has me stumped. I'm getting a "Type Mismatch" error on one of my forms when it's being opened. It's hapening before the forms "On Open" event, I stuck a msgbox in there to check and I'm...
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:
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
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.