Search found 24 matches
- 08.10.2021, 13:08
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Trouble on trying to use BatchDML
- Replies: 7
- Views: 452
Re: Trouble on trying to use BatchDML
I'm sorry guys, I have found the problem, actually Michal is right, there is no need of the code below: Params[0].SQLType := stUnicodeString; Params[1].SQLType := stUnicodeString; Params[2].SQLType := stCurrency; Params[3].SQLType := stCurrency; I was testing with that because I have found this topi...
- 08.10.2021, 12:44
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Trouble on trying to use BatchDML
- Replies: 7
- Views: 452
Re: Trouble on trying to use BatchDML
It needs declaration of ZDbcIntfs unit.These lines do not compile at all for me:
Params[0].SQLType := stUnicodeString;
Params[1].SQLType := stUnicodeString;
Params[2].SQLType := stCurrency;
Params[3].SQLType := stCurrency;
- 07.10.2021, 19:45
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Trouble on trying to use BatchDML
- Replies: 7
- Views: 452
Re: Trouble on trying to use BatchDML
Hello Michal! Params[0].SQLType := stUnicodeString; Params[1].SQLType := stUnicodeString; Params[2].SQLType := stCurrency; Params[3].SQLType := stCurrency; Before the Loop, same " Invalid Variant-Type for String-Array binding! " error... without it occurs " Unsupported parameter type,...
- 07.10.2021, 12:43
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Trouble on trying to use BatchDML
- Replies: 7
- Views: 452
Re: Trouble on trying to use BatchDML
Hello Jan! I am not sure, if we support Batch DML on this version of Firebird because Firebird introduced its Batch API with a later version. Not sure if that was in version 3 or version 4. Well, I'm also not sure about this, but Zeos recognizes FB 2.1 with support for BatchDML, see the screenshots ...
- 06.10.2021, 14:27
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Trouble on trying to use BatchDML
- Replies: 7
- Views: 452
Trouble on trying to use BatchDML
Hey guys! I'm facing a trouble to use BatchDML on Delphi 2010, Zeos SVN 7683 and Firebird 2.1.7. procedure TForm1.Button1Click(Sender: TObject); var indice : cardinal; price, taxes : Currency; begin price := 0; taxes := 0; with ZQuery1 do begin Connection := ZConnection1; Active := false; SQL.Clear;...
- 07.07.2021, 13:22
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: AV on second try of ZQuery.Post
- Replies: 8
- Views: 366
Re: AV on second try of ZQuery.Post
Thank you Jan, it's working fine now.
- 02.07.2021, 13:05
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: AV on second try of ZQuery.Post
- Replies: 8
- Views: 366
Re: AV on second try of ZQuery.Post
Hello Jan, I created a ticket on our bug tracker for this. It will take some days for me to add a test case and see what I can do. All right, thank you! Hello Michal, I managed to get something like this: Well, I get a common AV error message and, as I said, I'm testing Firebird 4 stable, I don't kn...
- 01.07.2021, 18:28
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: AV on second try of ZQuery.Post
- Replies: 8
- Views: 366
Re: AV on second try of ZQuery.Post
Hello Jan,
Yes, forgot to mension that.I assume you use "firebird" as the protocol?
Just tested, same AV hapens at the same line and unit I mensioned above.Could you please test what happens if you use the "interbase" protocol?
- 30.06.2021, 21:52
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: AV on second try of ZQuery.Post
- Replies: 8
- Views: 366
AV on second try of ZQuery.Post
Hey guys! I was doing some tests with Zeos 8 SVN 7589 on Delphi 2010 and Firebird 4.0.0.2496 (relase). On firebird.conf I setted DataTypeCompatibility = 3.0 property. Here is the DML of the table on FB database: CREATE TABLE PRODUCT ( ID INTEGER GENERATED BY DEFAULT AS IDENTITY (START WITH 1) NOT NU...
- 12.03.2021, 14:07
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Exception using TryKeepDataOnDisconnect property
- Replies: 4
- Views: 272
Re: Exception using TryKeepDataOnDisconnect property
Hi Michael, your are faster on testing than me on announcing the features. LOL That's because I like Zeoslib so much and that feature will be very very much helpful for me. Bruno i'll check your examples. The FB exception should not be thrown. Thus i accapt the ticket. What i miss in your code is: Q...
- 10.03.2021, 12:09
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Exception using TryKeepDataOnDisconnect property
- Replies: 4
- Views: 272
Re: Exception using TryKeepDataOnDisconnect property
Yeah, no problem.
Thanks Jan!
Thanks Jan!
- 09.03.2021, 21:38
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Exception using TryKeepDataOnDisconnect property
- Replies: 4
- Views: 272
Exception using TryKeepDataOnDisconnect property
Hi there! I'm using Zeos SVN 7378 on Delphi 2010 + Firebird 2.1 testing new behavior of TryKeepDataOnDisconnect property on datasets. Considering the sequence of the code below, it causes the EZIBSQLException = -904 Message: isc_dsql_allocate_statement. #1 - Connect the database and open the query w...
- 19.02.2021, 15:48
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: AV's After ZConnection.Reconnect
- Replies: 1
- Views: 151
AV's After ZConnection.Reconnect
I'm using Delphi 2010 and ZeosLib SVN 7336... I have a combination of ZConnection > ZQuery > DataSource > DBGrid. ZConnection is connected to a remote Firebird 2.5 database and, after some time, it is normal to be auto disconnected from the database for inactivity... that's ok... when that happens, ...
- 12.02.2021, 13:11
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: ZMemTable 'Operation is not allowed in READ ONLY mode' exception
- Replies: 10
- Views: 510
Re: ZMemTable 'Operation is not allowed in READ ONLY mode' exception
DestinationDataSet.Append; For a := 0 To SourceDataSet.Fields.Count - 1 Do DestinationDataSet.FieldByName(SourceDataSet.Fields[a].FieldName).AsBytes := SourceDataSet.Fields[a].AsBytes; DestinationDataSet.Post; I'll try this aehimself, thanks for the tip! I'll chek what going on if a connection is a...
- 11.02.2021, 22:07
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: ZMemTable 'Operation is not allowed in READ ONLY mode' exception
- Replies: 10
- Views: 510
Re: ZMemTable 'Operation is not allowed in READ ONLY mode' exception
That's it Man!!!Keep the connection on only until you need it.
![Very Happy :D](./images/smilies/icon_biggrin.gif)
Both of them, Delphi 2010 and Lazarus 2.0.10.Are you using Delphi or Lazarus?