Repeating Transactions Category Column
Posted: Tue Sep 01, 2009 2:52 pm
I have added the column, set the column width to save to the inidb, column heading, and created a new categoryStr_ in th (th.categoryStr_).
I set th.categoryStr_ = q1.GetString(wxT("CATEGNAME"));
compile and run, everything looks fine on a new database file. I add no transactions, just go to the repeating transactions page and add a new series, filling out all of the required fields and enter. Upon doing so, I get an SQL error, invalid field or field does not exist, something to that effect. So my question is, what am I doing wrong? Does this happen if you just create a new database and create a repeating transaction before ever entering any other transactions? I would try this all out myself, but I haven't had much time to sit down and code. Any help would be much appreciated.
I set th.categoryStr_ = q1.GetString(wxT("CATEGNAME"));
compile and run, everything looks fine on a new database file. I add no transactions, just go to the repeating transactions page and add a new series, filling out all of the required fields and enter. Upon doing so, I get an SQL error, invalid field or field does not exist, something to that effect. So my question is, what am I doing wrong? Does this happen if you just create a new database and create a repeating transaction before ever entering any other transactions? I would try this all out myself, but I haven't had much time to sit down and code. Any help would be much appreciated.