I'm programming a grid application which shows records from a SQL Server DataBase through an ADOConnection. The number of records is about 10000. The problem is that when I pass from a record to another in the DataGrid the amount of memory increases slightly (4-8 KB/reg). Finally, the...
I´m writing this code but Opts variable is always empty when the program is running. This incredible!
Anybody knows why?
.
.
.
TLocateOptions Opts;
Opts.Clear();
Opts << loPartialKey;
bool encontrado=ADODataSet1->Locate("DNI", this->DNI->Text, Opts );
.
.
.
I need to change some ADOConnection properties but I have a lot of problems because I don't know how to select each of the properties.
In Delphi you can change the propertis this way:
ADOConnection.Properties['Data Source'].Value := strPadNaarDatabase
I have tried changing the order, the...
I solved the problem inserting this connection paramenter into the new database connection string before it had been compacted:
Jet OLEDB:Engine Type=5
so: Provider=Microsoft.Jet.OLEDB.4.0;Data Source=DB.mdb;Jet OLEDB:Engine Type=5
you can change the engine type from 1 to 5:
jet 1.0 ->1
jet...
I've built an application in which I can select a Jet Database (usually MS access) and then compact. The problem is that I have to chage the database version but the JetEngine->CompactDatabase (which I imported from "Import from type library") function in Builder hasn't got enough...
I'm designing an application in which a user can move a image when he holds down the mouse's left button. The fact is that I need to keep image visible during the operation and, at same time, move the image. I have used OnkeyUp & OnKeyDown events of the image to start this action and OnMouseMove...
I have inserted a DBgrid component which needs to be cleared from time to time. It's connected to DataSource component which is connected to an ADO connection component. Any idea?
I do not use CoCreateInstance to run the server. I have imported the Type library from the server into the client program and I directly open it with this expression:
this->SvrMyVisdata1->LanzaListado(Conexion,SQL);
where SvrMyVisdata is the reference to the server, Conexion is the string...
I have built a program to manage DB operations. This program acts as stand-alone application or a automation server if a client requests any action from a external program.
If a user attempts any action, the server opens and stay opened. If the user press the "close" button in the...
How can include a text file into an executable file so the application doesn´t have to read from a external file?
How do I obtain the text later?
Thanks!!
I´m trying to send a picture to the printer with a label over the image. i've set transparent property to true ann i've remove ETO_OPAQUE flag. When the application shows the document on the screen the label is transparent but when send it to the printer, the label is opaque. How could i solve...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.