D.Mair
David
- Local time
- Today, 05:33
- Joined
- Jun 1, 2001
- Messages
- 33
I am getting an error,
I have not worked with access for a while and it is more likely that it is something simple
it is error 2544
You entered an expression that has an invalid reference to the property form/report
The property may not exist or may not apply to the object you specified
it highlights "strPath = Me![SubFrmPaths].Form![PathArch]".
Dim strPath As String
If Me![Archived] = -1 Then
strPath = Me![SubFrmPaths].Form![PathArch]
Else
strPath = Me![SubFrmPaths].Form![PathCorr]
End If
if you need more info please ask
Thanks David
I have not worked with access for a while and it is more likely that it is something simple
it is error 2544
You entered an expression that has an invalid reference to the property form/report
The property may not exist or may not apply to the object you specified
it highlights "strPath = Me![SubFrmPaths].Form![PathArch]".
Dim strPath As String
If Me![Archived] = -1 Then
strPath = Me![SubFrmPaths].Form![PathArch]
Else
strPath = Me![SubFrmPaths].Form![PathCorr]
End If
if you need more info please ask
Thanks David
Last edited: