corpse
Newcomer
I'm confused about a simple set statement...
I have an object called Employee, which it's properties are set when the app loads.
Then as a public form variable I have my oOrder object, and that has an OrderTaker property of the Employee type.
When I click the new order button, I'm doing...
oOrder.OrderTaker = new isrOrderEntry.Employee
oOrder.OrderTaker = tmpform.EmployeeLoggedIn <--- problem line
EmployeeLoggedIn is also of Employee type, and I have confirmed that EmployeeLoggedIn has all of it's properties set. When I hit the problem line, it does not give an error, but it does not set the data. I can set the properties 1 by 1 in the command window, but I can't do this stinkin copy. Every other time it has worked fine.. Am I missing something really dumb??
I have an object called Employee, which it's properties are set when the app loads.
Then as a public form variable I have my oOrder object, and that has an OrderTaker property of the Employee type.
When I click the new order button, I'm doing...
oOrder.OrderTaker = new isrOrderEntry.Employee
oOrder.OrderTaker = tmpform.EmployeeLoggedIn <--- problem line
EmployeeLoggedIn is also of Employee type, and I have confirmed that EmployeeLoggedIn has all of it's properties set. When I hit the problem line, it does not give an error, but it does not set the data. I can set the properties 1 by 1 in the command window, but I can't do this stinkin copy. Every other time it has worked fine.. Am I missing something really dumb??