Search found 29 matches

by cmatrix
13.04.2014, 12:27
Forum: ZeosLib 7.1 stable Forum
Topic: ADO Access TZQuery DBGrid not updateable
Replies: 3
Views: 813

Re: ADO Access TZQuery DBGrid not updateable

That's it Michal, setting Mode = ReadWrite did the trick. Thanks. Funny though that it worked OK with TADOQuery with the exact same connection string.
by cmatrix
13.04.2014, 00:38
Forum: ZeosLib 7.1 stable Forum
Topic: ADO Access TZQuery DBGrid not updateable
Replies: 3
Views: 813

ADO Access TZQuery DBGrid not updateable

I'm using Zeos with ADO to hook into an Access database. I have a DBGrid connected to a ZQuery. This works fine with Zeos and the SQLite driver. I can do edits in the grid, add records etc. Switching to Zeos/Ado/Access though, on trying to edit a field I get the EOleException error: 'Operation must ...
by cmatrix
13.04.2014, 00:13
Forum: ZeosLib 7.1 stable Forum
Topic: XE Install problem
Replies: 1
Views: 851

Re: XE Install problem

OK this was due to old Zeos files in a Delphi 5 folder. I did not realize that Delphi also looks at the Windows path setting to find bpls. Like many developers I need to maintain several different Delphi IDEs. The solution is to temporarily put all other Zeos bpls into a temp folder, then install, t...
by cmatrix
11.04.2014, 16:11
Forum: ZeosLib 7.1 stable Forum
Topic: XE Install problem
Replies: 1
Views: 851

XE Install problem

On attempting 7.1 install in Delphi XE I get the message that these changes must be made in order to install ZComponentDesign: Remove ZPropertyEditor, ZComponentReg. Unit(s) ZPropertyEditor, ZComponentReg were found in required package . If they are removed there are no Zeos components on the tool p...
by cmatrix
06.06.2013, 14:01
Forum: ZeosLib 7.1 stable Forum
Topic: Two critical new featues
Replies: 3
Views: 846

Pinging the DB server before every data access is very inconvenient. I think an OnLostConnection event would be very useful.

In my experience setting the timeout in .Properties has never worked (in MySQL anyway). I'll try looking into that further.
by cmatrix
05.06.2013, 22:46
Forum: ZeosLib 7.0 Stable Forum
Topic: Cannot disconnect
Replies: 1
Views: 1435

Cannot disconnect

It appears that there is no way to disconnect a TZConnection. I tried the .Disconnect method and setting the .Connection property to False but each way .Connection is always true.

Using 7.0.3-stable with MySQL and MS SQL via ADO.
by cmatrix
05.06.2013, 14:19
Forum: ZeosLib 7.1 stable Forum
Topic: Two critical new featues
Replies: 3
Views: 846

Two critical new featues

I think Zeos 7 could benefit enormously by having two very important features. 1. An event that fires when the connection is lost. This is very important in unstable environments like wireless networks. 2. A timeout property for ZConnection. Now with certain DBs (like I'm seeing now with MS SQL on A...
by cmatrix
05.06.2013, 14:08
Forum: ZeosLib 7.0 Stable Forum
Topic: Problem with zeos instalation and delphi xe2
Replies: 9
Views: 2608

Note that if you have other Delphi and Zeos versions, you can temporarily rename the folders where the old Zeos units are in so you can install the new Zeos version without encountering this problem.
by cmatrix
01.12.2012, 03:44
Forum: ZeosLib 7.0 Beta Forum
Topic: Zeos hangs on Connect attempt to non-existent MySQL DB
Replies: 4
Views: 1923

cmatrix , a good hint. But this is implemented by MySQL and here Zeos can't handle that AFAIK. http://stackoverflow.com/questions/243644/how-to-setup-a-connection-timeout-depending-of-the-user-login-in-mysql execute 'SHOW VARIABLES LIKE 'wait_timeout';'. The defaults are 28800 secs. So if you would...
by cmatrix
30.11.2012, 17:46
Forum: ZeosLib 7.0 Beta Forum
Topic: Zeos hangs on Connect attempt to non-existent MySQL DB
Replies: 4
Views: 1923

Zeos hangs on Connect attempt to non-existent MySQL DB

If a Zeos app tries to connect to a non-existent MySQL DB it will hang indefinitely. This does not happen with ADO/MS SQL.

Adding a Timeout to the connection properties does nothing.

Looking through the previous posts this is a known issue. Anyone find a workaround?
by cmatrix
18.10.2012, 18:06
Forum: ZeosLib 7.0 Beta Forum
Topic: FireMonkey support?
Replies: 2
Views: 2249

FireMonkey support?

Any plans for FireMonkey support in V7?
by cmatrix
01.12.2011, 14:59
Forum: ZeosLib 7.0 Beta Forum
Topic: Databound controls not working
Replies: 3
Views: 635

You can`t edit in the controls, as if the dataset is readonly. Using Zeos 7.0.0-dev with MS SQL 2008 connecting through ADO, Delphi XE. I downloaded it from Sourceforge not from svn. cmatrix , by saying "databound controls don't seem to work" you mean they doesn't show data, they can not e...
by cmatrix
30.11.2011, 20:00
Forum: ZeosLib 7.0 Beta Forum
Topic: Databound controls not working
Replies: 3
Views: 635

Databound controls not working

I converted a DB app to use Zeos7. All is OK except that databound controls don't seem to work. I've tried a DBEdit and a DBGrid hooked up to TZTables and TZQuerys with the same result. It's as if the zeos dataset are readonly. I checked the ReadOnly property but it is false. Am I missing something ...
by cmatrix
04.08.2009, 22:00
Forum: MS SQL Server
Topic: Understanding MS SQL connection
Replies: 2
Views: 2210

Understanding MS SQL connection

Please indicate if my understanding is correct. The mssql protocol cannot be used with MS SQL 2005 and above. For MS SQL 2005 and up you need to use ado protocol. If so, how can I have the Data Link Properties dialog pop-up during run-time when a user selects the ado protocol from my options screen?
by cmatrix
18.09.2008, 17:40
Forum: Firebird
Topic: Problems with Zeos 6.6.3 and FB2
Replies: 3
Views: 648

Thanks the alias did the trick. As for the queries they are simple SELECTs. The first query appears to except on merely trying to close the query before assigning text. I think the debugger is off by one line though. The second query excepts when simply trying to assign text to it. //q1 with DM.qry1...