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
Group and ungroup a password-protected sheet?
DatetimePicker in datagridview MSDN example problem
Excel 2007 viewer error in Windows Server 2008 R2 terminal server (crash)
How do I resolve stop error: *** STOP: 0x0000007B (0xF789EA94, 0XC0000034,0x0000000,0x000
0000)
Cannot remove Test Exchange server from administrative Group.
Transit Vlan
How do I get the value of xpages file upload
Shift Delete Error
Exchange 2010 Backup
Switch 3Com 4800G doesn't save configuration ?