Search found 12 matches
- 24.03.2009, 03:43
- Forum: 6.6 - stable
- Topic: Help: "Record not found or changed by another user"
- Replies: 3
- Views: 1360
I use TClientDataSet and DataSetProvider because makes life easier when updating datasets that show db Views, allowing to specify the underlying table that should be updated on the OnGetTableName of the DataSetProvider. Most of my DataSets shows db Views which data can be updated by the end user, an...
- 24.03.2009, 03:30
- Forum: 6.6 - stable
- Topic: Overflow error deleting a record
- Replies: 10
- Views: 1069
- 21.03.2009, 21:36
- Forum: 6.6 - stable
- Topic: Overflow error deleting a record
- Replies: 10
- Views: 1069
File ZAbstractRODataSet.pas, Line 3024: Changed from Statement.SetInt(I + 1, ParamValue.AsInteger); To Statement.SetLong(I + 1, StrToInt64(ParamValue.AsString)); File ZAbstractDataSet.pas, Line 688: Changed from Temp := Integer(SrcField.OldValue) To Temp := string(SrcField.OldValue); Regards, Guille...
- 21.03.2009, 20:05
- Forum: 6.6 - stable
- Topic: Overflow error deleting a record
- Replies: 10
- Views: 1069
- 21.03.2009, 17:12
- Forum: 6.6 - stable
- Topic: Help: "Record not found or changed by another user"
- Replies: 3
- Views: 1360
- 21.03.2009, 17:08
- Forum: 6.6 - stable
- Topic: Filter bug?
- Replies: 2
- Views: 414
- 21.03.2009, 04:28
- Forum: 6.6 - stable
- Topic: Filter bug?
- Replies: 2
- Views: 414
Filter bug?
'm using Delphi 7, MySQL 5, ZeosLib. I'm using ZQuery components, DataSetProvider, ClientDataSet; when I want to apply a Filter using the"Filter" property of the ClientDataSet, it is simply ignored; the code is: with self.z_dataSet do begin Active:=True; Close; Filter:= self.z_claseObjetoP...
- 20.03.2009, 19:37
- Forum: 6.6 - stable
- Topic: Help: "Record not found or changed by another user"
- Replies: 3
- Views: 1360
Help: "Record not found or changed by another user"
Hi, I have Delphi 7, ZeosLizb components and MySQL 5. The Connection and Query components are Zeos, and each Query is connected to a DataSetProvider, and ClientDataSet. There is this simple process to determine the total value of purchases on an invoice. I'm encapsulating or wraping tables as DataBa...
- 14.03.2009, 23:38
- Forum: 6.6 - stable
- Topic: Overflow error deleting a record
- Replies: 10
- Views: 1069
Debugging a bit deeper, I found that: In ZAbstractDataSet.pas, there is this block of code, starting at line 677: for I := 0 to Length(FieldRefs) - 1 do begin SrcField := Delta.FieldByName(TField(FieldRefs ).FieldName); if SrcField <> nil then begin if (SrcField.DataType = ftLargeInt) and not VarIsN...
- 14.03.2009, 21:24
- Forum: 6.6 - stable
- Topic: Overflow error deleting a record
- Replies: 10
- Views: 1069
Overflow error deleting a record
Hi, Using Delphi7-MySQL 5 ... I have this: CREATE TABLE `banco` ( `banco_id` bigint(20) NOT NULL auto_increment, `ban_numero` smallint(6) NOT NULL, `ban_nombre` varchar(80) NOT NULL, PRIMARY KEY (`banco_id`), UNIQUE KEY `ban_unq_numero` (`ban_numero`), UNIQUE KEY `ban_unq_nombre` (`ban_nombre`) ) EN...
- 14.03.2009, 06:36
- Forum: 6.6 - stable
- Topic: Newbie - Delete problem
- Replies: 1
- Views: 339
Newbie - Delete problem
Hi, I'm new using ZeosLib... and re-learning Delphi; I'm taking it after 6 year; previously I was using dbExpress drivers. I have Delphi 7 connected to mySQL 5. Using dbExpress, to delete a selected recrod on a dbgrid, I used to have: DataSource.DataSet.Delete; if TClientDataSet( DataSource.DataSet ...
- 09.03.2009, 22:01
- Forum: Documentations
- Topic: Newbie.... doc?
- Replies: 1
- Views: 3990
Newbie.... doc?
Hi, I'm restarting to develop Delphi 7 applications, since 2001. I plan to use Zeos Lib to connect to MySQL 5 databases. I just downloaded and installed the components today. I will migrate some applications from dbExpress to Zeos Lib. I wanted to read documentation on properties and methods, to che...