I am sorry if i phrased the question wrong but let me explain.
I am using a public function to open a recordset, It has 5 fields. StartDate, MRange, ENIS, CNIS, ZNIS
Public Function EmpWNIS(inpGross As Double, inpWDate As Date, inpRDate As Variant) As Double
Dim strPeriodEnd As String
Dim...