Search found 16 matches
- 09.06.2013, 03:51
- Forum: ZeosLib 7.0 Stable Forum
- Topic: Only one record should have been updated.
- Replies: 16
- Views: 10906
- 03.06.2013, 04:35
- Forum: ZeosLib 7.0 Stable Forum
- Topic: Only one record should have been updated.
- Replies: 16
- Views: 10906
Thanks for the reply Egon, I am doing what you say to do and I'm still getting the same error on the post. I don't understand, I've gone over your example 1000 times. I don't see any difference to my code yet I get the error on the post? I'm also puzzled why the INSERT works with the code below and ...
- 31.05.2013, 17:35
- Forum: ZeosLib 7.0 Stable Forum
- Topic: Only one record should have been updated.
- Replies: 16
- Views: 10906
- 31.05.2013, 14:47
- Forum: ZeosLib 7.0 Stable Forum
- Topic: Only one record should have been updated.
- Replies: 16
- Views: 10906
According to this example, I believe I'm doing the same thing? : With DataSet do Begin bEverythingOK := True; CachedUpdates := True; DataSet.First; While (not DataSet.EOF) and (bEverythingOK) do Begin DataSet.Edit; : // process record : DataSet.Post; DataSet.Next; : bEverythingOK := AFunctionForVali...
- 31.05.2013, 05:17
- Forum: ZeosLib 7.0 Stable Forum
- Topic: Only one record should have been updated.
- Replies: 16
- Views: 10906
- 30.05.2013, 21:07
- Forum: ZeosLib 7.0 Stable Forum
- Topic: Only one record should have been updated.
- Replies: 16
- Views: 10906
Sorry my mistake. You are absolutely right...I misread your reply.
However I did as you say and still get the same problem.
http://www.tiikoni.com/tis/view/?id=2c9139c
http://www.tiikoni.com/tis/view/?id=34dd27b
However I did as you say and still get the same problem.
http://www.tiikoni.com/tis/view/?id=2c9139c
http://www.tiikoni.com/tis/view/?id=34dd27b
- 30.05.2013, 20:31
- Forum: ZeosLib 7.0 Stable Forum
- Topic: Only one record should have been updated.
- Replies: 16
- Views: 10906
- 30.05.2013, 19:45
- Forum: ZeosLib 7.0 Stable Forum
- Topic: Only one record should have been updated.
- Replies: 16
- Views: 10906
- 30.05.2013, 19:42
- Forum: ZeosLib 7.0 Stable Forum
- Topic: Only one record should have been updated.
- Replies: 16
- Views: 10906
Only one record should have been updated.
I have a table with only ONE record in it. When I try to edit it, I get the error message stated in the subject. ....EZSQLException with mesage '0 record(s) updated. Only one record should have been updated." Here is my code: if MainDM.adoRegistration.RecordCount = 0 then MainDM.adoRegistration...
- 30.05.2013, 19:27
- Forum: ZeosLib 7.0 Stable Forum
- Topic: [solved] unknown picture format
- Replies: 10
- Views: 2317
I think I know what the problem is....I used a program to convert a database from MSSQL to SQLITE. It seem to have converted properly. When I used sqliteexpert to view the data it shows the pics but as I mentioned when I tried to view them using my delphi app, I would get an unknown picture format. ...
- 28.05.2013, 05:10
- Forum: ZeosLib 7.0 Stable Forum
- Topic: [solved] unknown picture format
- Replies: 10
- Views: 2317
The url stream points to a jpeg image file. I know this works because if I change the components to SIVAK sqlite3 it works fine to some extent. I believe I have another problem with concurrency but I'll look into that a bit more. In the mean time if I use zeos, it doesn't seem to store the image pro...
- 27.05.2013, 17:49
- Forum: ZeosLib 7.0 Stable Forum
- Topic: [solved] unknown picture format
- Replies: 10
- Views: 2317
Here it is...forgive me if bad code...I'm a beginner. if (xmlLUD > MainDM.adoAgents.FieldByName('lastupdated').AsDateTime) and (result = true) then begin writeToLog(3, 'Update agents record'); MainDM.adoAgents.edit; end else if result = false then MainDM.adoAgents.Insert; if MainDM.adoAgents.State i...
- 26.05.2013, 13:46
- Forum: ZeosLib 7.0 Stable Forum
- Topic: [solved] unknown picture format
- Replies: 10
- Views: 2317
Do you have an example of how I should import the pictures....I'm finding that if I create a loop such as below, the imported data gets all mixed up. Meaning the fields gets imported into the wrong fields. I know this has nothing to do with blob fields but I'm thinking that the way I'm importing the...
- 29.04.2013, 04:40
- Forum: SQLite
- Topic: Unknown picture format trying to read a blob
- Replies: 0
- Views: 1617
Unknown picture format trying to read a blob
I am using zeosib 7.0.3 with Delphi 2010. I have a sqlite3 database which contains a picture blob field. When I try to attach a dbaware picture vcl (Picshow http://delphiarea.com) it reports back an error "unknown picture format". This does work with the sivak3 sqlite3 dbase vcl tools. Wha...
- 29.04.2013, 00:14
- Forum: ZeosLib 7.0 Stable Forum
- Topic: [solved] unknown picture format
- Replies: 10
- Views: 2317