I should have posted earlier. I found the problem. It had to do with a setting a previous programmer had set. Things are working great now.
Thanks
Search found 3 matches
- 22.10.2007, 15:09
- Forum: 6.1.5
- Topic: ZTable.Edit puts me in dsInsert state
- Replies: 2
- Views: 2959
- 06.09.2007, 23:34
- Forum: 6.1.5
- Topic: Using PostgreSQL OID blobs in 6.1.5
- Replies: 0
- Views: 2406
Using PostgreSQL OID blobs in 6.1.5
OK, so this is what I had to do to get OID blobs to work with zeos 6.1.5. First, I added the property "oidasblob=yes" to my connection. Then, I altered the code from the example to look something like this: procedure CopyImageFromFile(FileName: String; Field: String; TargetTable: TZTable);...
- 06.09.2007, 22:41
- Forum: 6.1.5
- Topic: ZTable.Edit puts me in dsInsert state
- Replies: 2
- Views: 2959
ZTable.Edit puts me in dsInsert state
I am using Zeos 6.1.5 with Delphi 6. I have a run of code where I insert a record, add some values, post then edit again. After the edit, the table's state is dsInsert. I would expect it to be dsEdit. When I post next, rather than changing the current current record, it inserts a new one, consistent...