After changing your value, try: UpdateData(false); Hope it will help! Regards Frederico
Frederico Levesque
Posts
-
Update tree view -
Speed problem with MSSQL server databaseI'm using MFC class CRecordset. I create a class derived from CRecordset and bind all fiels to the database fields. Then I create an instance of that class and establish the connection through an ODBC an a CDatabase object. CTableOneSideData* cxOneSide = new CTableOneSideData(cxDatabase); //open the table if(cxOneSide->Open(NULL)) { if (cxOneSide->CanAppend()) { //insert values into fields } cxOneSide->Update(); } Could you tell me more about Store Procedure? Thanks a lot. Frederico
-
Speed problem with MSSQL server databaseHi, I have a big speed problem... I'm working on a database and I access it on a SQL server on local network.. It takes me about 1 minute to write 7000 records... That's way to slow! I thought at first it could be the network speed that would make it slow but I made tests with an MS Access database on the same network and without changing a line of code, writing 7000 records takes less than a second!!! So the network is not the problem... Could the problem be in my code? Or is it MSSql that is to slow? Somebody have an idea on that? It would be very appreciated! Thanks Frederico
-
capture a rectangle in a static image and resize it in another windowHi, I have a static frame containing an image. I need to get a region (rectangle) of this image and rezize it (zoom it) in another static frame on the same dialog . Somebody have an idea of how that could be done? Thanks a lot! Fred