G
Guest
Please forgive me if this is just an absurd question. I have a module that I
am using called "Date Difference". This module has the following arguments
"Date2Diff(interval, date1, date2, zeros)". This works great in a query. I
want to use it in a text box on a form. I started creating the following
code to call up the module. I can't get it to work. Please help.
Private Sub Text116_AfterUpdate()
Dim strDate1 As String
Dim strDate2 As String
Dim mdl As Module
strDate1 = [Received Date]
strDate2 = [Response Date]
Set mdl = Modules![Date Difference]
End Sub
am using called "Date Difference". This module has the following arguments
"Date2Diff(interval, date1, date2, zeros)". This works great in a query. I
want to use it in a text box on a form. I started creating the following
code to call up the module. I can't get it to work. Please help.
Private Sub Text116_AfterUpdate()
Dim strDate1 As String
Dim strDate2 As String
Dim mdl As Module
strDate1 = [Received Date]
strDate2 = [Response Date]
Set mdl = Modules![Date Difference]
End Sub