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

Query using joined tables

Help please!!! I am an intermediate access user that is getting my
bottom kicked by what seems an easy problem to fix. I maintain an
employee database at work. I have set up a query from two tables to
generate a query displaying useful fields, but only for those whom
appear on both tables. The names are formatted different so I chose to
join them using the SSN. I set up the query and joined the SSN
property but when I run the query, it comes up blank (despite there
being several matches).
Here is some additional info if it helps. The two tables I am
using are exported from other programs that are used at work. One
exports the SSN with hyphens as placeholders, the other just exports
the number itself. I thought that was the problem so I set up both
tables with an identical input mask and ensured that the field
properties are also identical. Troubleshooting I found that if I go
back and manually reenter the SSN in one of the tables, it will work
exactly as it should.

Any suggestions would be greatly appreciated!
Nov 13 '05 #1
1 1682
Input masks change the way the data is viewed. It does not necessarily
store the value that way unless you use ;0;_ at the end of the mask...Its
the 0 that forces access to save the value in the same way as it appears on
your screen. Another option is to strip out the hyphens from the one SSN or
add in hyphens into the one thats missing them.

HTH
Paul

"Carl B Davis" <cb***********@yahoo.com> wrote in message
news:f5**************************@posting.google.c om...
Help please!!! I am an intermediate access user that is getting my
bottom kicked by what seems an easy problem to fix. I maintain an
employee database at work. I have set up a query from two tables to
generate a query displaying useful fields, but only for those whom
appear on both tables. The names are formatted different so I chose to
join them using the SSN. I set up the query and joined the SSN
property but when I run the query, it comes up blank (despite there
being several matches).
Here is some additional info if it helps. The two tables I am
using are exported from other programs that are used at work. One
exports the SSN with hyphens as placeholders, the other just exports
the number itself. I thought that was the problem so I set up both
tables with an identical input mask and ensured that the field
properties are also identical. Troubleshooting I found that if I go
back and manually reenter the SSN in one of the tables, it will work
exactly as it should.

Any suggestions would be greatly appreciated!

Nov 13 '05 #2

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

Similar topics

0
by: B. Fongo | last post by:
I learned MySQL last year without putting it into action; that is why I face trouble in formulating my queries. Were it a test, then you would have passed it, because your queries did help me...
2
by: sqlgoogle | last post by:
Hi I'm having update problem. Here is the senario I have to different db server (SQL Server) linked with each other In DB Server 1 I have 2 tables & In DB Server 2 I have 3 tables. I have...
2
by: allyn44 | last post by:
Hello--I have 2 tables (illness,event) that a need to query and create a recordset The key fields are personId and description (text field) in each table. I also have other needed fields in the...
4
by: John Baker | last post by:
Hi: I have two tables, a setup table (TblSetup) and a purchase order table (tblPO). When i construct a query with ONLY the tblPO shown, and a type in parameter for the PO number, I an update...
1
by: Michael | last post by:
I have a query that uses two joined tables. The query contains data. I would like to pull in a data drom another table but when I add that table to the query design and make the join,the existing...
14
by: Tom | last post by:
Using AccessXP in 2000 mode. I have the following tables --- TblLocation LocationID PropertyID StateID CountyID CityID
1
by: Ike | last post by:
I have a simple query of joined tables that is failing to give me any rows of data (though, in checking by hand, it certainly should). Essentially, I am trying to return all rows from `ups` that...
2
by: Fendi Baba | last post by:
I created a person table with various fields such as Suffix, Salutation, etc, Some of these fields may not be mandatory for example suffix. In the actual table itself, I only have a field for...
1
by: racquetballer | last post by:
I need to to an update query that involves three tables: table Dealer needs to be updated with data from table Personnel and table Title. Dealer is joined to Personnel where Dealer.Dealer_Code =...
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
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...
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
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...

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.