I am having problems getting null values to work in my VB 6 application. I am using Oracle 8 as well.
I have selected records into a resultset.
The first thing I want to do is break the resultset into two groups. The first group has a null value for the capacity column. The second group is not null (it contains a value).
I can't seem to get the statements to work using null. The first statement doesn't work at all but I was able to come up with a work around for the second group.
if RSData("capacity" <> "" Then
Open file
Print Records
Some other statements
endif
I tried the same technique for the first group null values but it didn't work.
if RSData("capacity" = "" Then
Open file
Print Records
Some other statements
endif
Has anyone else ever had this problem? Any suggestions, thoughts?
I have selected records into a resultset.
The first thing I want to do is break the resultset into two groups. The first group has a null value for the capacity column. The second group is not null (it contains a value).
I can't seem to get the statements to work using null. The first statement doesn't work at all but I was able to come up with a work around for the second group.
if RSData("capacity" <> "" Then
Open file
Print Records
Some other statements
endif
I tried the same technique for the first group null values but it didn't work.
if RSData("capacity" = "" Then
Open file
Print Records
Some other statements
endif
Has anyone else ever had this problem? Any suggestions, thoughts?