Comments Inline....
> The function is working perfectly!
> I did have some questions though if you have time :)
>
> Can you explain how the "force Biennium to an even year" works?
> I am confused by the different forward vs. backslash syntax.
Biennium / 2 is standard division... result has fractional part
Biennium \ 2 is INTEGER division.... result is an integer (no fractional part)
if (standard division) = (integer division) then the number is even
You could also use the Mod function:
'force Biennium to be an even year
If IsNull(Biennium) Then
Biennium = Year(Date)
If Biennium Mod 2 <> 0 Then 'odd year
Biennium = Biennium + 1
End If
End If
> Also, I did not originally use:
> With rst
[quoted text clipped - 10 lines]
> What is the purpose/benefit of the With/End With? I have tried both, and
> they both work. I would like to understand the benefits of alternate methods.
From Help:
The With statement lets you specify an object or user-defined type *once* for
an entire series of statements. With statements make your procedures run faster
and help you avoid repetitive typing.
and
The With statement allows you to perform a series of statements on a specified
object without requalifying the name of the object. For example, to change a
number of different properties on a single object, place the property
assignment statements within the With control structure, referring to the
object once instead of referring to it with each property assignment. The
following example illustrates use of the With statement to assign values to
several properties of the same object.
With MyLabel
.Height = 2000
.Width = 2000
.Caption = "This is MyLabel"
End With
> Last, but certainly not least! Now that I have a working Public Function
> (Thank you again!) how to I show its results on a report?
[quoted text clipped - 3 lines]
> from a form that is also used to open the report. How do I reference the
> input parameters on a form while showing the result on a report?
It depends on what you want the report to look like. Is the report for one
staff member, a range of staff members or all staff members?
I just thought of a way to get all three options. Email me and I will send you
an example mdb (A2K format) tonight. (I'm working nights and need to get some
sleep before going back to work tonight.)
I'm at sanfu at techie dot com.....make a valid address... and put your name in
the subject line so I will see it.
> Thank you much Steve :)
> Renee
You're welcome.

Signature
Steve
--------------------------------
"Veni, Vidi, Velcro"
(I came, I saw, I stuck around.)