G
Guest
Hi. I'm about to scream! Can't figure this one. Can anybody help?
Here is my module argument:
If (.[Planet Number].Column(1) = "Sun" And
..[2ndMidpointPlanet].Column(1) = "Mercury" And .[Aspected Planet
Number].Column(1) = "Moon") Then
Reports![ASTROLOGICAL FORECAST REPORT]!Interpretation =
DLookup("[PositiveNegative] & ' ' & [Description]", "[MIDPOINT PAIRS
TABLE]", "[AutoNumber]=131")
End If
The module is supposed to insert data from [MIDPOINT PAIRS TABLE] into
[ASTROLOGICAL FORECAST REPORT].
But I keep getting this error message when trying to print:
"Microsoft Access can't find the field '2ndMidpointPlanet' referred to in
your expression"
I have double-checked the table [ASTROLOGICAL FORECAST] -- which is the
source for the report. The field IS there, and it is spelled correctly
[2ndMidpointPlanet].
Why doesn't the module recognize it? Any thoughts?
NOTE: When I delete the [2ndMidpointPlanet] requirement, the arguement DOES
recognize the other 2 fields [Planet Number] and [Aspected Planet Number].
Its only this [2ndMidpointPlanet] field that's making me tear out my hear
(and I ain't got much hair left!!)
I sure appreciate anybody's help
Thanks
Jim
Here is my module argument:
If (.[Planet Number].Column(1) = "Sun" And
..[2ndMidpointPlanet].Column(1) = "Mercury" And .[Aspected Planet
Number].Column(1) = "Moon") Then
Reports![ASTROLOGICAL FORECAST REPORT]!Interpretation =
DLookup("[PositiveNegative] & ' ' & [Description]", "[MIDPOINT PAIRS
TABLE]", "[AutoNumber]=131")
End If
The module is supposed to insert data from [MIDPOINT PAIRS TABLE] into
[ASTROLOGICAL FORECAST REPORT].
But I keep getting this error message when trying to print:
"Microsoft Access can't find the field '2ndMidpointPlanet' referred to in
your expression"
I have double-checked the table [ASTROLOGICAL FORECAST] -- which is the
source for the report. The field IS there, and it is spelled correctly
[2ndMidpointPlanet].
Why doesn't the module recognize it? Any thoughts?
NOTE: When I delete the [2ndMidpointPlanet] requirement, the arguement DOES
recognize the other 2 fields [Planet Number] and [Aspected Planet Number].
Its only this [2ndMidpointPlanet] field that's making me tear out my hear
(and I ain't got much hair left!!)
I sure appreciate anybody's help
Thanks
Jim