Search found 22 matches

by ChaosBiker
05.09.2008, 18:22
Forum: MySQL
Topic: Query ends up in range check error
Replies: 0
Views: 456

Query ends up in range check error

usign the following Query in ZQuery

'select * from params'

where params is a table in my database, ends up in a range check error :(

same query on SQL works like a charm
by ChaosBiker
03.09.2008, 22:17
Forum: 6.6 - stable
Topic: please help newbie with ZQuery
Replies: 8
Views: 1300

getting there,
step by step
:)
by ChaosBiker
03.09.2008, 22:17
Forum: 6.6 - stable
Topic: please help newbie with ZQuery
Replies: 8
Views: 1300

although your hint was vague, it helped me out with some desk research :D here's what I wrote: procedure TSNWLSQLClientMainForm.GetDBInfo; var i: Integer; TempStringList: TStringList; NameCollumn, SizeCollumn, MaxSizeCollumn, StatusCollumn: Integer; DBStatus: ShortString; ExitRepeat: Boolean; begin ...
by ChaosBiker
03.09.2008, 21:32
Forum: 6.6 - stable
Topic: please help newbie with ZQuery
Replies: 8
Views: 1300

i tried to do so,
unfortunatley Delphi help is not very helpfull with these specific componetns..
by ChaosBiker
03.09.2008, 20:50
Forum: 6.6 - stable
Topic: vclactnband missing???
Replies: 1
Views: 561

pls ignore..

might have missed smthn with copying, or caused by a second instance of delphi running...
by ChaosBiker
03.09.2008, 20:49
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Newbie help needed - SQL query + results
Replies: 8
Views: 1430

thnx mate
by ChaosBiker
03.09.2008, 20:49
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Check the existance of a TABLENAME
Replies: 10
Views: 4791

nvm,
solved by using an sql query instead

was just wanting to abuse ZConnecting gettablenames as a quick and dirty resolution

but it seems to list all tables from all db's..

not jsut the tables from a single db
by ChaosBiker
03.09.2008, 20:46
Forum: 6.6 - stable
Topic: please help newbie with ZQuery
Replies: 8
Views: 1300

how is fields defined? coz I seem to only find values from the first row? (run sphelp_db database on your own sql) I am also looking for the collumn name say results look smthn like this [ ][name ][size ][max size] 1 sgmsdb 500MB unlimites 2 sgmsdb_log 100 MB 2 GB as I am unsure what collumn I am lo...
by ChaosBiker
03.09.2008, 13:15
Forum: 6.6 - stable
Topic: please help newbie with ZQuery
Replies: 8
Views: 1300

please help newbie with ZQuery

gents, I need some help understanding ZQuery, goal: Query: sp_helpdb sgmsdb from ZQuery itself (so not via a dbgrid) I am trying to: 1) from the sgmsdb database itself get size and maxsize 2) from the associated transaction log get size and max size if I peform this query in SQL itself I get a nice ...
by ChaosBiker
03.09.2008, 11:48
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Check the existance of a TABLENAME
Replies: 10
Views: 4791

Is ti just me,

or does GetTableNames ignore the Database property? and just lists ALL ?
by ChaosBiker
03.09.2008, 09:20
Forum: 6.6 - stable
Topic: vclactnband missing???
Replies: 1
Views: 561

vclactnband missing???

I jsut downloaded 6.6.3,

when trying to compile ZComponent, it says
Required Package vclactnband not found???
by ChaosBiker
28.08.2008, 08:27
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: 6.6.2-RC Connection Timeout
Replies: 6
Views: 1167

usign MSSQL

once I get that working mysql is next.
will have a look at the TZDBLibConnetion
by ChaosBiker
28.08.2008, 08:25
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Newbie help needed - SQL query + results
Replies: 8
Views: 1430

yay,

works
:)

I was close the first time I experemimented,
but I kept putting TDAtaSource in ZQuery, instead of otherway around :)
by ChaosBiker
27.08.2008, 21:38
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: 6.6.2-RC Connection Timeout
Replies: 6
Views: 1167

adding
timeout=5
to properties, does NOT seem to work :(
it's still sitting waiting there for quite a while, until it finally gives up...
by ChaosBiker
27.08.2008, 21:35
Forum: 6.5.1 (alpha) - 6.6.x (beta)
Topic: Newbie help needed - SQL query + results
Replies: 8
Views: 1430

here's what I done so far add Zconnection -set Protocol=mssql -set hostname -set username -set password -set database add TDataSource add ZQuery -set conenction to ZConnection1 -set datasource to TDataSource -set SQL (query) add DBGrid -set datasource to TDataSource ZConnection.Connect Zquery1.Open ...