I have an object which has two contructors, one which requires a parameter and one which does not. I call the parameter contructor first and following recordcount and internal error checking if the object contains no data I call the unparameterised constructor. Problem is although my forms text changed events all appear assign data to my new instance they are infact going to the original.
ie
m_objJob = new job(customerid)
yadda yadda
m_objJob = nothing
m_objJob = new job()
the line assiging nothing was an attempt to get around it, but all I get now is m_objJob not instantiated? Even through I step through the new() contructor code with no error?
Any ideas welcome
ie
m_objJob = new job(customerid)
yadda yadda
m_objJob = nothing
m_objJob = new job()
the line assiging nothing was an attempt to get around it, but all I get now is m_objJob not instantiated? Even through I step through the new() contructor code with no error?
Any ideas welcome