M
Mauricio Silva
I am trying to compile a database I am converting from A97 to A2K. In
several reports I get the same error message: Compile Error in lines like
this:
If Not IsNull(Me.TermDate) And (Me.FundSales = 0) And (Me.Sales = 0) Then
Cancel = True
in this case Highlighting .FundSales. Here is the case: This object exists,
it has the same name as the field but if I change the name, the same thing
happens. I tried:
Me!FundSales => It highlights !FundSales as the problem
Me.Controls("FundSales") => It highlights .Control as the problem
Me("FundSales") => It highlights Me as the problem
When I type Me. , the FundSales appears as an option but the module still
does not compile.
I am totally lost. Can somebody help?
Thank you in advance
Mauricio Silva
several reports I get the same error message: Compile Error in lines like
this:
If Not IsNull(Me.TermDate) And (Me.FundSales = 0) And (Me.Sales = 0) Then
Cancel = True
in this case Highlighting .FundSales. Here is the case: This object exists,
it has the same name as the field but if I change the name, the same thing
happens. I tried:
Me!FundSales => It highlights !FundSales as the problem
Me.Controls("FundSales") => It highlights .Control as the problem
Me("FundSales") => It highlights Me as the problem
When I type Me. , the FundSales appears as an option but the module still
does not compile.
I am totally lost. Can somebody help?
Thank you in advance
Mauricio Silva