Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Left in a query to compare data in 2 Tables

Status
Not open for further replies.

itsmythg

Technical User
Apr 4, 2001
34
US
=Left([Employee]![FirstName],4)=Left([Earthlink]![FirstName],4)
I am trying to pull information from 2 tables to create a new combined data Table. this returns no data and that I know is wrong.
 
Try putting:
Expr1: Left([Employee]![FirstName],4)=Left([Earthlink]![FirstName],4)
as an expression and a criteria of "True"

Laters, Z

"42??? We're going to get lynched!
 
Try using the trim as well as the left. Sometimes my dbs add leading spaces for some reason, and that usually solves my problem when nothing is returned.
Trim(Left(([Employee]![FirstName],4))=Trim(Left(([Employee]![FirstName],4))

___________________________________________________________
With your thoughts you create the world--Shakyamuni Buddha
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top