Ok I try to that and at first time work, later I retry to use this.
Thanks!
Search found 3 matches
- 04.01.2007, 13:54
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: ApplyUpdate in designtime
- Replies: 4
- Views: 865
- 03.01.2007, 20:17
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: ApplyUpdate in designtime
- Replies: 4
- Views: 865
Ok, here is that optmized function, that work like above function FillFLDSInaTable(Clause, aTable, GenID, Key: string; aFields: array of string; Var Values: array of variant; IdResult, IdKey: integer): string; var Qry : TZQuery; // ZQuery created at runtime aSQL, sSQL, cgo, cwr, ccs, cvl, gni: strin...
- 02.01.2007, 19:50
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: ApplyUpdate in designtime
- Replies: 4
- Views: 865
ApplyUpdate in designtime
if a component TZQuery created at designtime and another component TZQuery (QRY from function listed below) created at runtime, they have your property CachedUpdates set up to true, if I insert a register via QRY (QRY cahedupdates's=true) at runtime, call "Free" for QRY and call ApplyUpdat...