ShikkurDude
Programmer
How could it be that I instantiated an object like this:
and it worked just fine for some time.
Then, without any apparent reason or cause for things to change, when I referenced the object elsewhere in the code, I all of a sudden started getting a null exception.
When I changed the statement to this:
it started working again.
How could that be and why, please?
Thanks!
E
Code:
Public reqToEdit As New Requisition
Then, without any apparent reason or cause for things to change, when I referenced the object elsewhere in the code, I all of a sudden started getting a null exception.
When I changed the statement to this:
Code:
Public reqToEdit As Requisition = New Requisition
How could that be and why, please?
Thanks!
E