473,770 Members | 2,113 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Simple Access 2000 Query won't work in XP

I created a simple link between two tables in a query. TableA has
Social Security numbers stored as Long Integer Data. (I imported this
table).

The Join is between these two fields

Table Field Data Type
------------------------------------------
TableA ClientNumA Long Integer
TableB CliNumB String

When I open an Access 2000 database using the same query it works
fine( even when I open it in AccessXP). When I import the query into
AccessXP I get the message "Type mismatch in expression". Clicking
help tell me I have a 'Type mismatch in JOIN expression. (Error 3615)'
I assume that this is because one filed is Numerical and the other is
STring, even though this always worked before...

I tried recreating the same query in XP with the same failure.
Nevertheless, it still works running the Access 2000 database from
Access XP, which leads me to believe that XP can work the Join. Is
there some default setting I need to change?

I tried two work arounds: Created a new variable in a query for TableA
as follows:

strClientNumA: str$(ClientNumA )

and tried to link the table with the new field. Again it failed. When
I created another variable strCliNumB: str$(CliNumB) from TableB and
linked the two it works fine. This is puzzling and annoying... (I have
a lot of imported tables that I need to do this with...

Any guesses what's going on. I'm guessing I doing something wrong that
will be simple and obvious to someone else...

Thanks!
Nov 13 '05 #1
1 3644
J,

I would only join fields that have the same datatype.
Even if it works in A2000 (which is strange as such) I would not be surprized when the results are
unreliable.
The 'type mismatch'-message is correct and this would urge me to change the datatype in one of the
tables.
If you have to process a lot of tables this way, you can convert the datatype while importing maybe?

--
Hope this helps
Arno R

"j.mandala" <ma*****@rci.ru tgers.edu> schreef in bericht
news:6c******** *************** ***@posting.goo gle.com...
I created a simple link between two tables in a query. TableA has
Social Security numbers stored as Long Integer Data. (I imported this
table).

The Join is between these two fields

Table Field Data Type
------------------------------------------
TableA ClientNumA Long Integer
TableB CliNumB String

When I open an Access 2000 database using the same query it works
fine( even when I open it in AccessXP). When I import the query into
AccessXP I get the message "Type mismatch in expression". Clicking
help tell me I have a 'Type mismatch in JOIN expression. (Error 3615)'
I assume that this is because one filed is Numerical and the other is
STring, even though this always worked before...

I tried recreating the same query in XP with the same failure.
Nevertheless, it still works running the Access 2000 database from
Access XP, which leads me to believe that XP can work the Join. Is
there some default setting I need to change?

I tried two work arounds: Created a new variable in a query for TableA
as follows:

strClientNumA: str$(ClientNumA )

and tried to link the table with the new field. Again it failed. When
I created another variable strCliNumB: str$(CliNumB) from TableB and
linked the two it works fine. This is puzzling and annoying... (I have
a lot of imported tables that I need to do this with...

Any guesses what's going on. I'm guessing I doing something wrong that
will be simple and obvious to someone else...

Thanks!

Nov 13 '05 #2

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

Similar topics

4
2311
by: Bon | last post by:
Hello all Would it be possible to migrate the MS Access 2000 to MS SQL Server 2000? My application is using MS Access 2000 as database and as user interface such as forms. Now, I want to migrate the backend database from MS Access 2000 to MS SQL Server 2000. However, I want to keep the MS Access 2000 interface. Would it be possible?
10
3355
by: Wayne Aprato | last post by:
I have a database that was written in Access 2003 using the Access 2000 file format. When I run the mdb in Access 2003 everything works fine. If I run it in Access 2000 the timer event won't fire on my forms. This is crazy. Has anyone seen this behaviour? Any help appreciated.
6
3926
by: Jean | last post by:
Hi, I am using an Access 2000 front-end to an Oracle 9 backend. I want to write a query that returns all records that are not older than one year for Column "Status_30" (which is a Date). When I look at the ODBC Datasource in Table DWHADMIN_V_PROBLEM , the Date formatting looks normal to me, like #05/07/2005#. However, when I try using the following in my Access Query :
4
3537
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The objective in utilizing this new deployment method is to reduce the maintenance overhead as well as making it easier for my users to setup and run the application initially. I have VS 2002, Windows XP, Access XP(2000 format). He is my problem....
17
2496
by: DaveG | last post by:
Hi all I am planning on writing a stock and accounts program for the family business, I understand this is likely to take close to 2 years to accomplish. The stock is likely to run into over a thousand items and the accounting side will be used for hopefully many years so the entries are likely to be vast. The delema is what is best to use ase the DB engine, Access I have as part of Office 2002 or should I really be looking at SQL...
9
2530
by: Fish Womper | last post by:
I am at best a part time developer of Access databases. I use Access 2.0, as this is all my employer has on its computers. Even so, to use this ancient version requires a fairly convoluted installation procedure on each PC on which it is used. I am self-taught from the help files that come with Access 2.0 and from painful experience. I've never attended any type of training course on how to develop databases in Access. I have no idea...
3
2500
by: ChasW | last post by:
Is it possible, within Access, to create an update query that replaces all spaces with underscores for text data in a given field? I am aware that it can be done by going into Edit -> Replace, but an update query would be much preferred. Thank you in advance, Charles
2
4090
by: acw | last post by:
On a SQL Server 2000 db I would like to setup a stored procedure that accesses couple tables and runs the extended stored procedure xp..cmdshell. The goal is to grant users with limited privileges the right to run the stored procedure but not the rights to directly access either the referenced tables or the extended stored procedure. TIA!
12
3284
by: tekctrl | last post by:
Environment; Win2K PC with 1Gb of RAM and plenty of HD space running Access 2002 Issue; Access presents a blank data entry form in the Forms view when the New Record icon is used. However, it won't allow any fields to have data entered into them. I can edit & save existing records without problem. When I go into the Tables view, I can add records and data ok and save without problem. I go back into the Table and I can see the data. ...
0
9454
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9906
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8933
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7456
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6712
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2850
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.