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 / New Users / June 2006

Tip: Looking for answers? Try searching our database.

Dlookup syntax help

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tanya - 14 Jun 2006 07:31 GMT
Hi,

can someone help with this lookup function below
Rate_ID is a number
Rate_Item_Code and ItemID are text

i cant seem to get this to work. am i missing some syntax?

Me.txtTechRateID = DLookup("Rate_ID", "Test", [Rate_Item_Code] = " Me.ItemID.
Column(0))

thanks heaps
Tanya
Wayne-I-M - 14 Jun 2006 08:03 GMT
Hi Tanya

Are you referencing items from the table [Test] on the same form ? like the
[Rate_Item_Code] which has the [RateID] of "123xyz".  If so there are just a
couple of " missing.

Try this

Me.txtTechRateID = DLookup("[Rate_ID]", "Test", " [Rate_Item_Code] =
[Me.ItemID]. Column(0)")

Signature

Wayne
Manchester, England.

> Hi,
>
[quoted text clipped - 9 lines]
> thanks heaps
> Tanya
Tanya - 14 Jun 2006 10:17 GMT
thank you so much.....
Tanya

>Hi Tanya
>
[quoted text clipped - 12 lines]
>> thanks heaps
>> Tanya
 
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.