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
Can I use Dell Latitude windows 7 CD to custom install another Laptop?
Deselect radio button in a ColdFusion flash form?
Brightstor 12.5 Exchange Agent issue
Random Excel 2007 crashes
window 7 OS: blank (black) screen only, as it logs in
Counting number of checked checkboxes in a form (when checkboxes are all named differently)
HP Web JetAdmin uses lots of RAM
Windows Server 2008 DistributedCOM error in System Log
explanation of httpcontext needed
Exchange 2010 setup.com /preparead fails