Ok. I have a form which has some dbedit boxes that are tied to one query, and then a dbgrid tied to another query, now I just added another form that comes up to add comments in the database. This form has only one dbmemo that is tied to the same database as the dbedits on the other form. Strange thing is, I can add a comment as big as I want(up to the size of the field anyway), but then if I want to edit that comment and make it smaller...and then later make it large again...it wont go any bigger than when I shrunk it. I know this sounds confusing, I'm sorry I'm just a little frazzled(it's a word!) right now. The way I'm updating the query from the memo is:
datamodule.query.edit;
datamodule.query.post;
That's the only way I could get it to work, and it does work except in this instance.
Also, on the dbgrid that's tied to a whole other query...I get a similar problem where I can add a record to the db...and it's there...but if I try to make it longer than the data I entered it wont do it. I can make it shorter and change it...but not longer. Never longer than the original data I entered. I don't do anything to update the grid, just change the data and hit the post button on the little controller bar I added.
In the actual database I can do these things...as best I can tell. So I BELIEVE the problem is in the code. I'm just not sure what it might be.
I'm using BDE, and a MySQL database. I'm about to throw this thing out the window.
Thanks![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
datamodule.query.edit;
datamodule.query.post;
That's the only way I could get it to work, and it does work except in this instance.
Also, on the dbgrid that's tied to a whole other query...I get a similar problem where I can add a record to the db...and it's there...but if I try to make it longer than the data I entered it wont do it. I can make it shorter and change it...but not longer. Never longer than the original data I entered. I don't do anything to update the grid, just change the data and hit the post button on the little controller bar I added.
In the actual database I can do these things...as best I can tell. So I BELIEVE the problem is in the code. I'm just not sure what it might be.
I'm using BDE, and a MySQL database. I'm about to throw this thing out the window.
Thanks