Re: How to solve the error "The local variable may not have been instantiated"?



Very sorry! I indeed forgot "= null;" initialization. (I initialized several local variables to null and I missed this one.)

Great. It is working and cleared my mind a little. Thank you all for your help. I greatly appreciate it.




.