pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedopenoffice and boolean
5+ messages / 3 participants
[nested] [flat]
* openoffice and boolean
@ 2004-12-28 17:14 tony <tony@tgds.net>
2004-12-28 17:52 ` Re: openoffice and boolean Scott Marlowe <smarlowe@g2switchworks.com>
2004-12-28 20:24 ` Re: openoffice and boolean Kris Jurka <books@ejurka.com>
0 siblings, 2 replies; 5+ messages in thread
From: tony @ 2004-12-28 17:14 UTC (permalink / raw)
To: pgsql-jdbc
Hello,
Connecting OOo 1.1.2 to Postgresql via JDBC I can't seem to find the
correct OOo query editor criteria for a boolean value. Does anyone know
the magic formula? The value in the database is 't'. = TRUE ='t' etc.
etc. don't work.
Cheers
Tony Grant
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: openoffice and boolean
2004-12-28 17:14 openoffice and boolean tony <tony@tgds.net>
@ 2004-12-28 17:52 ` Scott Marlowe <smarlowe@g2switchworks.com>
2004-12-28 18:12 ` Re: openoffice and boolean tony <tony@tgds.net>
1 sibling, 1 reply; 5+ messages in thread
From: Scott Marlowe @ 2004-12-28 17:52 UTC (permalink / raw)
To: tony <tony@tgds.net>; +Cc: pgsql-jdbc
On Tue, 2004-12-28 at 11:14, tony wrote:
> Hello,
>
> Connecting OOo 1.1.2 to Postgresql via JDBC I can't seem to find the
> correct OOo query editor criteria for a boolean value. Does anyone know
> the magic formula? The value in the database is 't'. = TRUE ='t' etc.
> etc. don't work.
Those queries are usually of the format:
select * from sometable where somefield IS TRUE
or simply
select * from sometable where somefield
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: openoffice and boolean
2004-12-28 17:14 openoffice and boolean tony <tony@tgds.net>
2004-12-28 17:52 ` Re: openoffice and boolean Scott Marlowe <smarlowe@g2switchworks.com>
@ 2004-12-28 18:12 ` tony <tony@tgds.net>
0 siblings, 0 replies; 5+ messages in thread
From: tony @ 2004-12-28 18:12 UTC (permalink / raw)
To: Scott Marlowe <smarlowe@g2switchworks.com>; +Cc: pgsql-jdbc
Le mardi 28 décembre 2004 à 11:52 -0600, Scott Marlowe a écrit :
> > Connecting OOo 1.1.2 to Postgresql via JDBC I can't seem to find the
> > correct OOo query editor criteria for a boolean value. Does anyone know
> > the magic formula? The value in the database is 't'. = TRUE ='t' etc.
> > etc. don't work.
>
> Those queries are usually of the format:
>
> select * from sometable where somefield IS TRUE
returns "was expecting - or NULL"
> or simply
>
> select * from sometable where somefield
I'll try and write that into the non standard SQL editor of OpenOffice.
Thanks
Tony
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: openoffice and boolean
2004-12-28 17:14 openoffice and boolean tony <tony@tgds.net>
@ 2004-12-28 20:24 ` Kris Jurka <books@ejurka.com>
2004-12-28 20:33 ` Re: openoffice and boolean tony <tony@tgds.net>
1 sibling, 1 reply; 5+ messages in thread
From: Kris Jurka @ 2004-12-28 20:24 UTC (permalink / raw)
To: tony <tony@tgds.net>; +Cc: pgsql-jdbc
On Tue, 28 Dec 2004, tony wrote:
> Connecting OOo 1.1.2 to Postgresql via JDBC I can't seem to find the
> correct OOo query editor criteria for a boolean value. Does anyone know
> the magic formula? The value in the database is 't'. = TRUE ='t' etc.
> etc. don't work.
>
Could you be more specific on "don't work"? Does it not return the
expected rows? Does it throw an Exception? If so what's the exact
error message?
Kris Jurka
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: openoffice and boolean
2004-12-28 17:14 openoffice and boolean tony <tony@tgds.net>
2004-12-28 20:24 ` Re: openoffice and boolean Kris Jurka <books@ejurka.com>
@ 2004-12-28 20:33 ` tony <tony@tgds.net>
0 siblings, 0 replies; 5+ messages in thread
From: tony @ 2004-12-28 20:33 UTC (permalink / raw)
To: Kris Jurka <books@ejurka.com>; +Cc: pgsql-jdbc
Le mardi 28 décembre 2004 à 15:24 -0500, Kris Jurka a écrit :
> > Connecting OOo 1.1.2 to Postgresql via JDBC I can't seem to find the
> > correct OOo query editor criteria for a boolean value. Does anyone know
> > the magic formula? The value in the database is 't'. = TRUE ='t' etc.
> > etc. don't work.
> >
>
> Could you be more specific on "don't work"? Does it not return the
> expected rows? Does it throw an Exception? If so what's the exact
> error message?
Some throw exceptions (java exceptions), some return wrong data type sql
messages.
What I was hoping for was that a person on the list used OpenOffice and
JDBC and had the correct OOo "critera" line for a boolean field. The
number of dialog boxes I saw this afternoon were "many" and "varied"
=;-D
Cheers
Tony Grant
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2004-12-28 20:33 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-12-28 17:14 openoffice and boolean tony <tony@tgds.net>
2004-12-28 17:52 ` Scott Marlowe <smarlowe@g2switchworks.com>
2004-12-28 18:12 ` tony <tony@tgds.net>
2004-12-28 20:24 ` Kris Jurka <books@ejurka.com>
2004-12-28 20:33 ` tony <tony@tgds.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox