Possible Access 2000 Visual Basic Bug
I have an access database with a reasonable quantity of VB code behind the
One event sequence requires opening a text file and reading a few hundred
characters. I was getting 'runtime error 458 -- variable uses an
automation type not supported in visual basic'
Since I had used that particular bit of code in other places without any
problem I tried to find out what was causing it. The result is very odd
I normally declare all variables at the top of a code page:Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/9338-access-2000-compiler-problem.html
Including the line:-
Dim aaA, bbB, ccC As String
resulted in the error 458 when attempting to open the text file but usingReference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=9338
the two lines:-
Dim aaA, bbB As String
Dim ccC As String
worked with no problem!
Can anyone explain