Hello Baldur2630,
could you please share the solution of your problem with us?
Best regards,
Jan
Search found 1891 matches
- 01.05.2013, 10:44
- Forum: ZeosLib 7.0 Stable Forum
- Topic: Can anyone help me with this?
- Replies: 10
- Views: 1512
- 30.04.2013, 16:36
- Forum: 6.6 - stable
- Topic: Charset Problem SQLite
- Replies: 2
- Views: 1893
- 30.04.2013, 16:33
- Forum: ZeosLib 7.0 Stable Forum
- Topic: Does the 7.0 stable version have support for C++Builder 6.0
- Replies: 7
- Views: 1082
- 30.04.2013, 16:29
- Forum: MySQL
- Topic: Storing Results from a query into Variables & Arrays.
- Replies: 3
- Views: 2031
Hello Baldur2630, just use an SQL query for the first one. Ie: var MyCount: Integer; begin ... Query.Close Query.SQL.Text := 'SELECT COUNT(DISTINCT types.typeid) as COUNTX FROM types'; Query.Open try MyCount := Query.FieldByName('COUNTX').AsInteger; finally Query.Close end; ... end; and for the Seco...
- 30.04.2013, 16:20
- Forum: MySQL
- Topic: Problem with ZQuery
- Replies: 3
- Views: 2218
Hello alexcagliari, if you want to insert the data directly into the SQL then you need to encase the Strings in quotes: // inizia sql with ZQuery1 do begin Active:=False; SQL.Clear; SQL.Add('Insert into logbook(Callsign,Name,City) values(' + QuotedStr(Callsign.Text) + ',' + QuotedStr(Nome.Text) + ',...
- 30.04.2013, 16:07
- Forum: ZeosLib 7.0 Stable Forum
- Topic: delphi xe3 + zeos, lan ok; internet not
- Replies: 1
- Views: 596
Hello Mamenhi, I am not sure how you plan to secure you data against people who want to read it. But nonetheless normally things should be like this: Install MariaDB on your internet host Open a port for communication in the firewall of the internet host set the hostname in TZConnection to that of y...
- 30.04.2013, 16:04
- Forum: ZeosLib 7.0 Stable Forum
- Topic: [solved] unknown picture format
- Replies: 10
- Views: 2242
- 27.04.2013, 15:13
- Forum: ZeosLib 7.0 Stable Forum
- Topic: Intalling Zeos7 on Delphi7
- Replies: 4
- Views: 917
- 22.04.2013, 10:03
- Forum: Firebird
- Topic: zeos sql query on firebird
- Replies: 4
- Views: 1975
Hello Chunkiebone, there are several ways to accomplish what you want. But the most easy way might be to use a stored procedure in Firebird that acts after insertion of a record to the payments table. For safeguarding the data you also might want to find a way to keep people from messing with the ba...
- 21.04.2013, 22:13
- Forum: Firebird
- Topic: zeos sql query on firebird
- Replies: 4
- Views: 1975
Hello chunkiebone, I am not sure what you want to do but keeping the same data twice in the database is good way to get inconsistent data if you make a mistake. For querying two or more tables use the join synax. Assuming you have three tables: masterlist (id, client, address) daily_payments (date, ...
- 12.04.2013, 15:15
- Forum: ZeosLib 7.0 Stable Forum
- Topic: Copy record to same table?
- Replies: 2
- Views: 1565
hmmm - something like that: procedure copyfields(Src, Target: TDataSet; Blacklist: String); var x: Integer; begin Blacklist := ';' + Blacklist + ';'; for x := 0 to Src.Fields.Count do begin // iterate over all source fields if Pos(';' + Src.Fields[x].FieldName + ';', Blacklist) <> 0 then begin //che...
- 09.04.2013, 12:07
- Forum: MySQL
- Topic: Newbie question!
- Replies: 5
- Views: 2066
- 09.04.2013, 12:05
- Forum: ZeosLib 7.0 Stable Forum
- Topic: tzconnection help
- Replies: 2
- Views: 599
- 04.04.2013, 08:54
- Forum: MySQL
- Topic: Newbie question!
- Replies: 5
- Views: 2066
Hello Baldur 2630, I am not used to MySQL this is what the manual says: http://dev.mysql.com/doc/refman/5.1/de/alter-table.html So this should translate to some sql like alter table mytable add constraint PK_mytable PRIMARY KEY (mycol1, mycol2); But usually I would think about adding the primary key...
- 02.04.2013, 08:08
- Forum: ZeosLib 7.0 Stable Forum
- Topic: Problems with autocommit mode
- Replies: 3
- Views: 1035