zeos

how can i make my search box jump from one keyword to another without it check every row of the database? [closed]

旧时模样 提交于 2020-01-07 05:29:05
问题 This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 6 years ago . I got this code working for my app's search box, unfortunately when it search or filters, it checks every row on the database and then when the searched

how to connect to a firebird database in delphi 7 through a local network?

落花浮王杯 提交于 2019-12-23 05:28:07
问题 how do i connect my delphi 7 app to a local network? i am using zeos and have set up the ZConnection1 hostname setting to the ip of my server in the object inspector, i can connect on the computer i am coding right now but cant connect to the dabatase with another computer from the network. i have set the database path to C:\Documents and Settings\Administrator\My Documents\test.FDB. do i need to change it to an ip address? thanks the components i used are 1 zconnection 1 ztable 1 data source

Unable to insert Unicode into SQL Server 2008 using Delphi ZeosLib and Delphi 7

☆樱花仙子☆ 提交于 2019-12-12 18:23:32
问题 I'm having trouble inserting Unicode into a SQL Server database using Delphi ZeosLib and Delphi 7, and then reading the inserted value. I've created a simple test program that first inserts and then queries the inserted value. The test table schema: CREATE TABLE [dbo].[incominglog]( [message] [nvarchar](500) NULL ) ON [PRIMARY] I've upload the simple test program source (ZeosLib source included) - click here to download. I've also included ntwdblib.dll but you can use your own. The test

BDS2006 and Zeos installation

两盒软妹~` 提交于 2019-12-12 01:15:18
问题 I recently installed Zeos 6.6 stable on BDS2006 for both the Delphi and C++ personalities. In order to do so, and since Zeos is written in Delphi, I checked the " Generate all C++ Builder files " when building the packages. The problem I found was that, somehow, not all necessary .DCUs were generated during the building of the different packages. I finally worked around it by first building only for Delphi (which worked flawlessly) and then rebuilding for both Delphi and C++. Now, I am not

Conversion from C++ to Delphi (simple)

有些话、适合烂在心里 提交于 2019-12-11 03:35:34
问题 I have a function in C++ that I am attempting to replicate in delphi: typedef double ANNcoord; // coordinate data type typedef ANNcoord* ANNpoint; // a point typedef ANNpoint* ANNpointArray; // an array of points bool readPt(istream &in, ANNpoint p) // read point (false on EOF) { for (int i = 0; i < dim; i++) { if(!(in >> p[i])) return false; } return true; } In Delphi I believe that I have correctly declared the data types.. (I could be wrong): type IPtr = ^IStream; // pointer to Istream

Multiple statements Delphi TZquery (Zeos) error

会有一股神秘感。 提交于 2019-12-10 16:04:08
问题 im trying to make a multiple statement query like this : // without the second insert the query works fine. // i need 2 querys to work because later, i'll do inserts on different kind of tables. // that's why i need 2 querys, not a single query which insert 2 records. with ZQuery1 do begin SQL.Clear; SQL.Add('insert into client (name,age) values ('+QuotedStr('john')+','+QuotedStr('20')+');'); SQL.Add('insert into client (name,age) values ('+QuotedStr('doe')+','+QuotedStr('21')+');'); ExecSQL;

Why is Delphi (Zeos) giving me widestring fields in SQLite when I ask for unsigned big int?

笑着哭i 提交于 2019-11-28 12:22:45
问题 I am using the latest Zeos with SQLite 3. It is generally going well, converting from MySQL, once we made all the persistent integer field TLargeInt . But when we use a column definition unsigned big int (the only unsigned type allowed according to https://www.sqlite.org/datatype3.html), Delphi is calling the resulting field a ftWidestring . 回答1: No, it does not "revert" to string, SQlite just stores the data as it is provided. As the documentation states: SQLite supports the concept of "type