"You can't assign a value to this object" error
If there is an error on the first patient opened when opening CCMDB.mdb, the program will sometimes crash with the following error
Template:Discussion If someone has the actual error wording, could they enter it here?
what is the error?
Quick and dirty fix
Make a "fake patient" with a serial number 1 and enter a minimum data set for the patient. This will mean that the first patient opened doesn't give an error, and the next patient on the list will display errors properly rather than crashing.
Background
Problem is caused by the error checker trying to set fields in a form to yellow before the form is fully opened. This is due to the chronological order in which events are run. The event that triggers the checks has to be right as the form opens, and at this point, the event that causes this is before the form finishes opening. Tina is not sure how to fix this problem at this time, hence the work-around above.
Discussion
The article will need to be renamed when the actuall error wording is available. Ttenbergen 11:21, 25 February 2010 (CST)