G
Guest
Please Help. I'm trying to pass the following variables bookingDate and
bookingPeriod to the function OpenBooking. It works when i pass only Ctl1,
but not when it is like this:
Private Sub Ctl1_Click()
Dim bookingDate As Date
Dim bookingPeriod As String
bookingDate = Me!date
bookingPeriod = Me!period
OpenBooking(Ctl1,bookingDate,bookingPeriod)
End Sub
Have I got the syntax wrong?
Olly Bowman
bookingPeriod to the function OpenBooking. It works when i pass only Ctl1,
but not when it is like this:
Private Sub Ctl1_Click()
Dim bookingDate As Date
Dim bookingPeriod As String
bookingDate = Me!date
bookingPeriod = Me!period
OpenBooking(Ctl1,bookingDate,bookingPeriod)
End Sub
Have I got the syntax wrong?
Olly Bowman