VBSciptEngine - DBNULL is returned as Nothing #627
DanielGerlach2
started this conversation in
General
Replies: 2 comments 1 reply
-
Hi @DanielGerlach2, ClearScript converts .NET's Good luck! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you very much for the quick answer. I still think it's an error because it should actually return DBNULL, but it arrives as Nothing. https://www.file-upload.net/download-15445692/tstClearscript_627.zip.html |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a function that returns the value of a field for an record which represents a data record from a table in the MSSQL server.
e.g.
Class Record
...
Function Value(Field as String) as Object
...
End Class
When using the MSScriptcontrol, DBNULL is returned for empty fields.
Sub Main
If ISDBNULL(Record.Value("Field1")) Then
...
End If
End Sub
Now when you run the same script code via VBSciptEngine, Nothing is returned.
Is there a setting or switch to get the expected return?
Beta Was this translation helpful? Give feedback.
All reactions