Microsoft
Software
Hardware
Network
Question : Create a Dlookup in a form based on three criteria’s in Access 2003
How to begin to create a Dlookup in a form based on three criteria’s.
I want to base it on Effective Date, PlanType, and Plan (which is PCA, RS1, RS2, PP0).
I have a table with the following examples:
Effective Date
PlanType
PCA
RS1
RS2
PP0
7/01/2010 Emp 100.00 150.00 175.00 275.00
7/01/2010 Emp +1 300.00 350.00 375.00 775.00
7/01/2010 Family 800.00 850.00 875.00 1075.00
I have combo boxes for Effective Date, PlanType and Plan. I want the Premium to be populated in the Rate field.
I have absolutely no clue as to how to even go about this. I know what I want to do in my head, but making it work! That is another story. So, if any one could assist, i would appreciate it.
Thanks in advance.
Jamie
Answer : Create a Dlookup in a form based on three criteria’s in Access 2003
typo
=Dlookup("[Premium]", "HealthRate", "[Effective_Date] = #" & Me.[cEffective_Date] &"# And [Plan]='" & Me.[cPlan] &"' and [PlanType]='" & Me.[cPlanType] &"'")
Random Solutions
Emails sent as BCC
Where to download AIX base filesets
Use of Excel Macro in MS Access 2000
How to install VMWare ESX 4 onto HP BL460 Blade server C7000
Why Not able to read excel file in the Web application running on Windows7/Office2010?
Excel VBA
Hyper-v virtual m/c issues
iTunes playlist gone but music library intact, how to recreate from iphone
Best way to swap out SBS servers
Quartz Job Scheduler ShutdownHookPlugin