Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / June 2007

Tip: Looking for answers? Try searching our database.

DLookup to match fields that are not the same

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SailorRoy - 28 Jun 2007 15:22 GMT
I have two tables that contain part numbers that I want to match.  First
table has a job number, part number, and time entered daily.  Second table is
exported from PeachTree Accounting program that has an extended part number
for colorcodes etc.  I am trying to return part discription information from
that table.  Can this be done and can anyone help me.  Thanks

Roy
SailorRoy - 28 Jun 2007 15:36 GMT
Inventory: DLookUp("[Item Description]","[Inventory]","[Item ID]='" & [Part]
& "'")

> I have two tables that contain part numbers that I want to match.  First
> table has a job number, part number, and time entered daily.  Second table is
[quoted text clipped - 3 lines]
>
> Roy
Bob Quintal - 28 Jun 2007 22:31 GMT
> Inventory: DLookUp("[Item Description]","[Inventory]","[Item
> ID]='" & [Part] & "'")
[quoted text clipped - 8 lines]
>>
>> Roy

This will not match your 'extended part number' if you want to
match part FX12345 with FX12345-Red then change the criteria to
"[Item > ID] like'" & [Part] & "*'")

Signature

Bob Quintal

PA is y I've altered my email address.

--
Posted via a free Usenet account from http://www.teranews.com

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.