Search found 61 matches

by jeremicm
08.04.2010, 12:20
Forum: MySQL
Topic: How to get last inserted row's id?
Replies: 5
Views: 2021

never done that but in theory, you should write lock table, execute insert, execute last_insert_id and then write unlock table...

that's only theory...


look at http://dev.mysql.com/doc/refman/5.0/en/lock-tables.html for more details...
by jeremicm
25.03.2010, 10:34
Forum: ZeosLib 7.0 Beta Forum
Topic: Delphi 2010, Zeos 7 and parameters
Replies: 6
Views: 2529

take a look at version property of ZConnection... and for query try: Qry.Sql.Text := 'INSERT INTO names (ID, FIRST, LAST) Values (:ID, :FIRST, :LAST)'; Qry.ParameterByName('ID').AsInteger := 9; Qry.ParameterByName('FIRST').AsString := 'X'; Qry.ParameterByName('LAST').AsString := 'Y'; Qry.ExecSQL; Al...
by jeremicm
03.03.2010, 11:26
Forum: Firebird
Topic: Lazarus Zeos 6.6.6 Access violation
Replies: 5
Views: 1720

code looks good to me..
on what line exactly you get access violation?
by jeremicm
17.02.2010, 11:05
Forum: 6.6 - stable
Topic: Field x is required, But not supplied.
Replies: 7
Views: 1227

Looks like you have one more field in table that is set to not null and you are not filling it with data.

Can you post SQL table structure?
by jeremicm
16.02.2010, 13:23
Forum: 6.6 - stable
Topic: can't find libmysql41.dll libmysql.dll problem?
Replies: 2
Views: 836

it works. thanks.
by jeremicm
16.02.2010, 11:10
Forum: 6.6 - stable
Topic: can't find libmysql41.dll libmysql.dll problem?
Replies: 2
Views: 836

can't find libmysql41.dll libmysql.dll problem?

I'm using Delphi 2009 and ZeosLib 6.6.6 stable on Windows 7. On designtime when i set ZConnection.Connected to True i get error "can't find libmysql41.dll libmysql.dll"... On runtime everything works fine. I copied files to both windows\system32 and application exe folder. Any ideas? Thnx ...
by jeremicm
22.01.2010, 15:08
Forum: ZeosLib 7.0 Beta Forum
Topic: Error in Post Zquery
Replies: 4
Views: 709

i had same error when i tried to make access frontend some time ago...

check if your database field names are correct in your code. i made that mistake...
by jeremicm
13.01.2010, 14:00
Forum: 6.6 - stable
Topic: GetTabelNames will not refresh...
Replies: 4
Views: 529

Try to put code in OnChange event instead of OnSelect... That will work i think?
by jeremicm
07.12.2009, 11:37
Forum: 6.6 - stable
Topic: EAccessViolation in module libmysqld.dll
Replies: 4
Views: 648

I think You should use TZQuery.Execute; instead TZQuery.Open;
by jeremicm
23.09.2009, 10:56
Forum: 6.6 - stable
Topic: problem with MSSQL 2008
Replies: 2
Views: 466

sorry for mistake, it's Rad Studio 2007, not 2009.
I upgraded Zeos to 6.6.5 and XP sp3 and still have same problem.
What kind of driver is used to connect to SQL server?
by jeremicm
31.08.2009, 14:00
Forum: 6.6 - stable
Topic: problem with MSSQL 2008
Replies: 2
Views: 466

problem with MSSQL 2008

Hi, I'm using Delphi2009 ent and ZeosLIB 6.6.2 on developer machine under WinXP SP2 and MSSQL 2008 on Windows server 2008 standard on server machine. When i try to connect from delphi to SQL i get error: The USE database statement failed because the database collation %.*ls is not recognized by olde...
by jeremicm
22.02.2007, 12:39
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Zeos 6.6.0 and MSSQL 2000 problem?!?
Replies: 0
Views: 627

Zeos 6.6.0 and MSSQL 2000 problem?!?

Hi everyone, I'm using MS SQL 2000, Zeos 6.6.0 and Delphi 7 SP1. When I try to execute SELECT query error "List index out of bounds ##" where ## is number of fields in table.

I tried same with older (6.5.0) version, and with it app crashed with access violation.

Can somebody help me?
by jeremicm
19.10.2006, 02:27
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Installation problem
Replies: 4
Views: 855

Thanks for response... will try with a newer one and will wait for beta...

i'm using zeoslib for mysql acces for almost 4 years now and it's great stuff...
thanks...
by jeremicm
18.10.2006, 23:11
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Installation problem
Replies: 4
Views: 855

version is "ZeosLib 6.5.1-alpha CVS-Version as of 13-10-2005" (copied from version file from root dir)... there is no ZComponentDesign file in any folder, and i tried with ZeosDBO.bpg but still nothing...