Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is null help in sybase

Status
Not open for further replies.

goldi

Programmer
Mar 21, 2001
31
0
0
US
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.

?????????????????
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top