I have a VB6 program where I am loading data to the screen and I have
If IsNull(fieldname) then
do one thing
else
load data to screen fields
end if
When the code runs it bypasses the IsNull and tries to load the data to the screen. At that point I get the error:
-2147024882(8007000e)
Not enough storage is available to complete this operation.
If I step through the program it still bypasses the IsNull condition, but at that point will give me run time error 94 - invalid use of null. If I back up the program pointer and step through the statement again it will then catch the isnull.
?????????????????
If IsNull(fieldname) then
do one thing
else
load data to screen fields
end if
When the code runs it bypasses the IsNull and tries to load the data to the screen. At that point I get the error:
-2147024882(8007000e)
Not enough storage is available to complete this operation.
If I step through the program it still bypasses the IsNull condition, but at that point will give me run time error 94 - invalid use of null. If I back up the program pointer and step through the statement again it will then catch the isnull.
?????????????????