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
Underlining text?
dynamic array as application variable?
Excel Width and Height
Help with Lucene query in Alfresco
How to find and replace specific string with blank using sed or any better cmd?
Mounting NFS NAS in ESX 3
Data truncated MYSQL
jquery dhtml dynamic population issue
perl regexp with div tags and space
Remove space from textbox automatically