Search found 16 matches

by kidjake28
09.06.2013, 03:51
Forum: ZeosLib 7.0 Stable Forum
Topic: Only one record should have been updated.
Replies: 16
Views: 10906

Sorry I was busy for a bit...I will try and get you the code.
by kidjake28
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 ...
by kidjake28
31.05.2013, 17:35
Forum: ZeosLib 7.0 Stable Forum
Topic: Only one record should have been updated.
Replies: 16
Views: 10906

Actually I didn't have cacheupdates set to TRUE. I'm still getting the error but it's on the applyupdates and not on the post.
by kidjake28
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...
by kidjake28
31.05.2013, 05:17
Forum: ZeosLib 7.0 Stable Forum
Topic: Only one record should have been updated.
Replies: 16
Views: 10906

The problem is that I'm getting the error on the POST?

I don't even make it to the applyupdates or commitupdates.

Should I not be posting????
by kidjake28
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
by kidjake28
30.05.2013, 20:31
Forum: ZeosLib 7.0 Stable Forum
Topic: Only one record should have been updated.
Replies: 16
Views: 10906

Thank you once again Egon. I appreciate the help.

So I created a Primary Index on the 'Company' field.

What do you mean by 'User primary key constraint'?

Can you give me an example?
by kidjake28
30.05.2013, 19:45
Forum: ZeosLib 7.0 Stable Forum
Topic: Only one record should have been updated.
Replies: 16
Views: 10906

I should mention that if I delete the record (so that it inserts) it works fine.
by kidjake28
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...
by kidjake28
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. ...
by kidjake28
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...
by kidjake28
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...
by kidjake28
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...
by kidjake28
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...
by kidjake28
29.04.2013, 00:14
Forum: ZeosLib 7.0 Stable Forum
Topic: [solved] unknown picture format
Replies: 10
Views: 2317

Anyone?

Please.