Visual Basic Classic
--
Questions
--
Followers
Top Experts
I am using VB6 and in the code I execute a SQL query that returns a set of records.
I need to check 2 columns in the recordset for being Null.
When I use IsNull the application throws an error "Invalid Use Of Null" and jumps to my local error handler when I reference other columns that are not Null in the recordset...
How can I get around this...?
Thanks Ian Carrick
If (IsNull(l_BankAccount.Reco
(IsNull(l_BankAccount.Reco
If ((CInt(l_BankAccount.Recor
(UCase(l_BankAccount.Recor
(UCase(l_BankAccount.Recor
End If
End If
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
If (IsNull(l_BankAccount.Reco
(IsNull(l_BankAccount.Reco
If ((CInt(l_BankAccount.Recor
(UCase(l_BankAccount.Recor
(UCase(l_BankAccount.Recor
End If
End If
If (l_BankAccount.Recordset.F
If ((IsNull(l_BankAccount.Rec
(IsNull(l_BankAccount.Reco






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
Visual Basic Classic
--
Questions
--
Followers
Top Experts
Visual Basic is Microsoft’s event-driven programming language and integrated development environment (IDE) for its Component Object Model (COM) programming model. It is relatively easy to learn and use because of its graphical development features and BASIC heritage. It has been replaced with VB.NET, and is very similar to VBA (Visual Basic for Applications), the programming language for the Microsoft Office product line.