I have a rather strange problem. I have a table in my program. The table recieves data from a history file when the program is loaded, and both the table and history file are (seperately) updated whenever new data is generated.
Today, I added two additional columns, raising the number from four to six. I added code that included the two additional columns on tha table in the program and on the history file. I made room for two additional columns of data on the table.
got all that?
Here's the problem: I started the program as usual, and generated new data. The four original columns updated, but the two new ones did not. I looked at the histoy file, and all six columns of data were present. On a lark, I shut down the program, restarted it, and the two new columns of data were now present, and all six columns of data appeared whenever the table was updated.
I am going to send my program to a customer, and I cannot tell him to generate data, shut down the program, and restart it. What can I do to prevent this problem from occuring?
Attached is the code responsible for putting data on the table.
EDIT: I tried shuting down the program, deleting the data in the two new columns, and the problem happened again. Whatever I am doing, it is reproducable.
Message Edited by BobChuck on 01-18-2007 03:33 PM