pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedHandlind booleans Postgresql-Access
4+ messages / 2 participants
[nested] [flat]
* Handlind booleans Postgresql-Access
@ 2018-07-13 09:19 Łukasz Jarych <jaryszek@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Łukasz Jarych @ 2018-07-13 09:19 UTC (permalink / raw)
To: pgsql-general
Hi Guys,
i created boolean in postgresql table (in attachment) but linked table in
Access see this as short text.
I checked in odbc option Bools as Char to false and True is -1 as true.but
still tihs is not working.
I found linke here:
http://bahut.alma.ch/2006/04/access-odbc-postgresql-boolean-mess.html
but this is very strange function there (which i am not understanding), why
to use it? There is no other option?
Best,
Jacek
Attachments:
Screenshot_26.png (image/png, 38.5K) download
view image
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Handlind booleans Postgresql-Access
@ 2018-07-13 13:36 Adrian Klaver <adrian.klaver@aklaver.com>
parent: Łukasz Jarych <jaryszek@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Adrian Klaver @ 2018-07-13 13:36 UTC (permalink / raw)
To: Łukasz Jarych <jaryszek@gmail.com>; pgsql-general
On 07/13/2018 02:19 AM, Łukasz Jarych wrote:
> Hi Guys,
>
> i created boolean in postgresql table (in attachment) but linked table
> in Access see this as short text.
>
> I checked in odbc option Bools as Char to false and True is -1 as
> true.but still tihs is not working.
Define working.
>
> I found linke here:
>
> http://bahut.alma.ch/2006/04/access-odbc-postgresql-boolean-mess.html
>
> but this is very strange function there (which i am not understanding),
> why to use it? There is no other option?
Because Postgres has true boolean fields and Access does not.
>
> Best,
> Jacek
>
>
>
--
Adrian Klaver
adrian.klaver@aklaver.com
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Handlind booleans Postgresql-Access
@ 2018-07-13 13:56 Łukasz Jarych <jaryszek@gmail.com>
parent: Adrian Klaver <adrian.klaver@aklaver.com>
0 siblings, 1 reply; 4+ messages in thread
From: Łukasz Jarych @ 2018-07-13 13:56 UTC (permalink / raw)
To: Adrian Klaver <adrian.klaver@aklaver.com>; +Cc: pgsql-general
Hmm so maybe better is use text field here....
Best,
Jacek
pt., 13 lip 2018 o 15:36 Adrian Klaver <adrian.klaver@aklaver.com>
napisał(a):
> On 07/13/2018 02:19 AM, Łukasz Jarych wrote:
> > Hi Guys,
> >
> > i created boolean in postgresql table (in attachment) but linked table
> > in Access see this as short text.
> >
> > I checked in odbc option Bools as Char to false and True is -1 as
> > true.but still tihs is not working.
>
> Define working.
>
> >
> > I found linke here:
> >
> > http://bahut.alma.ch/2006/04/access-odbc-postgresql-boolean-mess.html
> >
> > but this is very strange function there (which i am not understanding),
> > why to use it? There is no other option?
>
> Because Postgres has true boolean fields and Access does not.
>
> >
> > Best,
> > Jacek
> >
> >
> >
>
>
> --
> Adrian Klaver
> adrian.klaver@aklaver.com
>
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Handlind booleans Postgresql-Access
@ 2018-07-13 14:09 Adrian Klaver <adrian.klaver@aklaver.com>
parent: Łukasz Jarych <jaryszek@gmail.com>
0 siblings, 0 replies; 4+ messages in thread
From: Adrian Klaver @ 2018-07-13 14:09 UTC (permalink / raw)
To: Łukasz Jarych <jaryszek@gmail.com>; +Cc: pgsql-general
On 07/13/2018 06:56 AM, Łukasz Jarych wrote:
> Hmm so maybe better is use text field here....
Well it really depends on what you want to do with the field.
>
> Best,
> Jacek
>
--
Adrian Klaver
adrian.klaver@aklaver.com
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2018-07-13 14:09 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-07-13 09:19 Handlind booleans Postgresql-Access Łukasz Jarych <jaryszek@gmail.com>
2018-07-13 13:36 ` Adrian Klaver <adrian.klaver@aklaver.com>
2018-07-13 13:56 ` Łukasz Jarych <jaryszek@gmail.com>
2018-07-13 14:09 ` Adrian Klaver <adrian.klaver@aklaver.com>
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