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
Add an incremental number to the beginning of each column name from left to right.
Migrating files/folders to a new domain
Cannot use "Unallocated Space"
The following recipient(s) cannot be reached
Database Design - Double Entry Accounting
refusing remote connections
How to find and replace specific string with blank using sed or any better cmd?
Powershell to HTML displays
That's not contempt. THIS is contempt
IF - Then script based on file date?