E
Ed Dolikian
I just converted an Access 97 application to Access
XP/2000. I have encountered a specific style of coding
that doesn't work, namely
dim strValue as string
strValue = "ABC"
if not strValue = "ABC" then
(get runtime error '5' invalid procedure call or
Argument on the if not statement
....
else
....
end if
if not strcomp(strvalue,"ABC",vbTextCompare) = 0 then
works.
Do I have to change "ALL" my code? Any ideas?
XP/2000. I have encountered a specific style of coding
that doesn't work, namely
dim strValue as string
strValue = "ABC"
if not strValue = "ABC" then
(get runtime error '5' invalid procedure call or
Argument on the if not statement
....
else
....
end if
if not strcomp(strvalue,"ABC",vbTextCompare) = 0 then
works.
Do I have to change "ALL" my code? Any ideas?