G
George Papadopoulos
Hello Access users
I have a standard module named 'Queries_module'. Inside I have defined a
function as shown :
Public Function Get_From_Date()
Get_From_Date = Forms!Episkeyh_bash_kwdikou_klinikhs.Get_From_Date()
End Function
As seen the function calls another function which belongs to a form. The
definition of that function in the module
'Forms!Episkeyh_bash_kwdikou_klinikhs' is :
Public Function Get_From_Date()
Get_From_Date = dtFrom_Date ' dtFrom_Date is simply a date variable
End Function
I now have a report. There exists a text box on that report. I am trying to
set the control source of the text box to :
Modules!Queries_module.Get_From_Date().
But it fails! A dialog box pops up asking for the value of
Modules!Queries_module.Get_From_Date().
Is my approach sound? What am I not doing right?
thx, in advance
George Papadopoulos
I have a standard module named 'Queries_module'. Inside I have defined a
function as shown :
Public Function Get_From_Date()
Get_From_Date = Forms!Episkeyh_bash_kwdikou_klinikhs.Get_From_Date()
End Function
As seen the function calls another function which belongs to a form. The
definition of that function in the module
'Forms!Episkeyh_bash_kwdikou_klinikhs' is :
Public Function Get_From_Date()
Get_From_Date = dtFrom_Date ' dtFrom_Date is simply a date variable
End Function
I now have a report. There exists a text box on that report. I am trying to
set the control source of the text box to :
Modules!Queries_module.Get_From_Date().
But it fails! A dialog box pops up asking for the value of
Modules!Queries_module.Get_From_Date().
Is my approach sound? What am I not doing right?
thx, in advance
George Papadopoulos