pg.ddx.io pgsql-odbc@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Driver issue ? Default value not recognized in access 5+ messages / 3 participants [nested] [flat]
* Driver issue ? Default value not recognized in access @ 2017-01-16 10:49 patrick.le-calvez@engie.com 2017-01-17 00:34 ` Re: Driver issue ? Default value not recognized in access Adrian Klaver <adrian.klaver@aklaver.com> 0 siblings, 1 reply; 5+ messages in thread From: patrick.le-calvez@engie.com @ 2017-01-16 10:49 UTC (permalink / raw) To: pgsql-odbc Hello, I've installed a few weeks back a driver obdc, linking my access file to my postgresql database. Thank you for that. psqlodbc_09_05_0300-x64.zip I've a problem, and I think maybe it's within the driver. Access doesn't recognize the default values registered in my postgre database. Do you have any intel about that issue ? Do you anyway to solve it ? Or another way to pass over it ? Thanks in advance, Patrick LE CALVEZ Chef de projet Agence Nord-Est INEO INFRACOM patrick.le-calvez@engie.com<mailto:patrick.le-calvez@engie.com> Tel. 03 80 73 74 03 Mob. 06 84 85 33 13 [Logo]<http://cofelyineo-gdfsuez.com/; engie-ineo.fr Ineo Infracom 5 rue Lavoisier - CS 20089 21603 LONGVIC Cedex Pensez à l'environnement avant d'imprimer ce message. ENGIE Mail Disclaimer: http://www.engie.com/disclaimer/disclaimer-fr.html Attachments:image001.jpg (image/jpeg, 2.9K) download
view imageimage002.jpg (image/jpeg, 18.4K) download
view image^ permalink raw reply [nested|flat] 5+ messages in threadimage003.jpg (image/jpeg, 12.7K) download
view image
* Re: Driver issue ? Default value not recognized in access 2017-01-16 10:49 Driver issue ? Default value not recognized in access patrick.le-calvez@engie.com @ 2017-01-17 00:34 ` Adrian Klaver <adrian.klaver@aklaver.com> 2017-01-17 15:39 ` Re: Driver issue ? Default value not recognized in access patrick.le-calvez@engie.com 0 siblings, 1 reply; 5+ messages in thread From: Adrian Klaver @ 2017-01-17 00:34 UTC (permalink / raw) To: patrick.le-calvez@engie.com; pgsql-odbc On 01/16/2017 02:49 AM, patrick.le-calvez@engie.com wrote: > Hello, > > > > I’ve installed a few weeks back a driver obdc, linking my access file to > my postgresql database. > > Thank you for that. > > psqlodbc_09_05_0300-x64.zip > > > > I’ve a problem, and I think maybe it’s within the driver. > > > > Access doesn’t recognize the default values registered in my postgre > database. You are going to need to be more specific about this: 1) How is the table in Access linked to the Postgres database? 2) Where do you except the default value to show up? 3) Is the default value created in the database when you INSERT a value without specifying it? > > Do you have any intel about that issue ? > > Do you anyway to solve it ? Or another way to pass over it ? > > > > Thanks in advance, > > > > *Patrick LE CALVEZ* > *Chef de projet* > > *Agence Nord-Est* > > *INEO INFRACOM* > > _patrick.le-calvez@engie.com <mailto:patrick.le-calvez@engie.com>_ > > Tel. 03 80 73 74 03 > > Mob. 06 84 85 33 13 > > > > Logo <http://cofelyineo-gdfsuez.com/; > > Curseur > > engie-ineo.fr > > *Ineo Infracom* > > *5 rue Lavoisier - CS 20089 > 21603 LONGVIC Cedex > > **Pensez à l'environnement avant d'imprimer ce message.* > > > Curseur Flux > > > > ENGIE Mail Disclaimer: http://www.engie.com/disclaimer/disclaimer-fr.html > -- Adrian Klaver adrian.klaver@aklaver.com -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc ^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Driver issue ? Default value not recognized in access 2017-01-16 10:49 Driver issue ? Default value not recognized in access patrick.le-calvez@engie.com 2017-01-17 00:34 ` Re: Driver issue ? Default value not recognized in access Adrian Klaver <adrian.klaver@aklaver.com> @ 2017-01-17 15:39 ` patrick.le-calvez@engie.com 2017-01-17 21:16 ` Re: Driver issue ? Default value not recognized in access Fred Parkinson <FredP@abag.ca.gov> 2017-01-18 15:11 ` Re: Driver issue ? Default value not recognized in access Adrian Klaver <adrian.klaver@aklaver.com> 0 siblings, 2 replies; 5+ messages in thread From: patrick.le-calvez@engie.com @ 2017-01-17 15:39 UTC (permalink / raw) To: adrian.klaver@aklaver.com; pgsql-odbc Hello, Thanks for your answer, Here are the elements you asked : 1) How is the table in Access linked to the Postgres database? I create tables linked through a ODBC connection. [cid:image001.png@01D270E0.340454D0] Here are the parameters of the connection. [cid:image002.png@01D270E0.340454D0] 2) Where do you except the default value to show up? I expect the default value to appear in 2 places. First, I would like to see it there : [cid:image003.png@01D270E0.340454D0] Second (and most of all), when I run my vba subs, I need to use the default values of some fields. At this state, vba does see any. 3) Is the default value created in the database when you INSERT a value without specifying it? Yes it is. More specifically, most of my records are inserted via a vba sub. That's where I need those default values the most. Have a good day, Patrick -----Message d'origine----- De : Adrian Klaver [mailto:adrian.klaver@aklaver.com] Envoyé : mardi 17 janvier 2017 01:34 À : Le Calvez Patrick (INEO INFRACOM); pgsql-odbc@postgresql.org Objet : Re: [ODBC] Driver issue ? Default value not recognized in access On 01/16/2017 02:49 AM, patrick.le-calvez@engie.com<mailto:patrick.le-calvez@engie.com> wrote: > Hello, > > > > I've installed a few weeks back a driver obdc, linking my access file > to my postgresql database. > > Thank you for that. > > psqlodbc_09_05_0300-x64.zip > > > > I've a problem, and I think maybe it's within the driver. > > > > Access doesn't recognize the default values registered in my postgre > database. You are going to need to be more specific about this: 1) How is the table in Access linked to the Postgres database? 2) Where do you except the default value to show up? 3) Is the default value created in the database when you INSERT a value without specifying it? > > Do you have any intel about that issue ? > > Do you anyway to solve it ? Or another way to pass over it ? > > > > Thanks in advance, > > > > *Patrick LE CALVEZ* > *Chef de projet* > > *Agence Nord-Est* > > *INEO INFRACOM* > > _patrick.le-calvez@engie.com<mailto:_patrick.le-calvez@engie.com> <mailto:patrick.le-calvez@engie.com>_ > > Tel. 03 80 73 74 03 > > Mob. 06 84 85 33 13 > > > > Logo <http://cofelyineo-gdfsuez.com/; > > Curseur > > engie-ineo.fr > > *Ineo Infracom* > > *5 rue Lavoisier - CS 20089 > 21603 LONGVIC Cedex > > **Pensez à l'environnement avant d'imprimer ce message.* > > > Curseur Flux > > > > ENGIE Mail Disclaimer: > http://www.engie.com/disclaimer/disclaimer-fr.html > -- Adrian Klaver adrian.klaver@aklaver.com<mailto:adrian.klaver@aklaver.com> ENGIE Mail Disclaimer: http://www.engie.com/disclaimer/disclaimer-fr.html Attachments:image001.png (image/png, 50.9K) download
view imageimage002.png (image/png, 54.0K) download
view image^ permalink raw reply [nested|flat] 5+ messages in threadimage003.png (image/png, 96.4K) download
view image
* Re: Driver issue ? Default value not recognized in access 2017-01-16 10:49 Driver issue ? Default value not recognized in access patrick.le-calvez@engie.com 2017-01-17 00:34 ` Re: Driver issue ? Default value not recognized in access Adrian Klaver <adrian.klaver@aklaver.com> 2017-01-17 15:39 ` Re: Driver issue ? Default value not recognized in access patrick.le-calvez@engie.com @ 2017-01-17 21:16 ` Fred Parkinson <FredP@abag.ca.gov> 1 sibling, 0 replies; 5+ messages in thread From: Fred Parkinson @ 2017-01-17 21:16 UTC (permalink / raw) To: Adrian Klaver <adrian.klaver@aklaver.com>; patrick.le-calvez@engie.com <patrick.le-calvez@engie.com>; pgsql-odbc As a long time Access - linked - to -Postgres user, it is my experience that Access never shows the default values of a Postgres table. Whether this is an ODBC issue or an Access issue I don't know, but I always display the Postgres table properties in psql if I need to know the default value of a column. Fred Parkinson Application Programmer Association of Bay Area Governments 415-820-7931 >>> <patrick.le-calvez@engie.com> 1/17/2017 7:39 AM >>> Hello, Thanks for your answer, Here are the elements you asked : 1) How is the table in Access linked to the Postgres database? I create tables linked through a ODBC connection. Here are the parameters of the connection. 2) Where do you except the default value to show up? I expect the default value to appear in 2 places. First, I would like to see it there : Second (and most of all), when I run my vba subs, I need to use the default values of some fields. At this state, vba does see any. 3) Is the default value created in the database when you INSERT a value without specifying it? Yes it is. More specifically, most of my records are inserted via a vba sub. That’s where I need those default values the most. Have a good day, Patrick -----Message d'origine----- De : Adrian Klaver [mailto:adrian.klaver@aklaver.com] Envoyé : mardi 17 janvier 2017 01:34 À : Le Calvez Patrick (INEO INFRACOM); pgsql-odbc@postgresql.org Objet : Re: [ODBC] Driver issue ? Default value not recognized in access On 01/16/2017 02:49 AM, patrick.le-calvez@engie.com wrote: > Hello, > > > > I’ve installed a few weeks back a driver obdc, linking my access file > to my postgresql database. > > Thank you for that. > > psqlodbc_09_05_0300-x64.zip > > > > I’ve a problem, and I think maybe it’s within the driver. > > > > Access doesn’t recognize the default values registered in my postgre > database. You are going to need to be more specific about this: 1) How is the table in Access linked to the Postgres database? 2) Where do you except the default value to show up? 3) Is the default value created in the database when you INSERT a value without specifying it? > > Do you have any intel about that issue ? > > Do you anyway to solve it ? Or another way to pass over it ? > > > > Thanks in advance, > > > > *Patrick LE CALVEZ* > *Chef de projet* > > *Agence Nord-Est* > > *INEO INFRACOM* > > _patrick.le-calvez@engie.com <mailto:patrick.le-calvez@engie.com>_ > > Tel. 03 80 73 74 03 > > Mob. 06 84 85 33 13 > > > > Logo <http://cofelyineo-gdfsuez.com/; > > Curseur > > engie-ineo.fr > > *Ineo Infracom* > > *5 rue Lavoisier - CS 20089 > 21603 LONGVIC Cedex > > **Pensez à l'environnement avant d'imprimer ce message.* > > > Curseur Flux > > > > ENGIE Mail Disclaimer: > http://www.engie.com/disclaimer/disclaimer-fr.html ( http://www.engie.com/disclaimer/disclaimer-fr.html) > -- Adrian Klaver adrian.klaver@aklaver.com ENGIE Mail Disclaimer: http://www.engie.com/disclaimer/disclaimer-fr.html Attachments:IMAGE.png (image/png, 47.7K) download
view imageIMAGE.png (image/png, 52.9K) download
view image^ permalink raw reply [nested|flat] 5+ messages in threadIMAGE.png (image/png, 69.3K) download
view image
* Re: Driver issue ? Default value not recognized in access 2017-01-16 10:49 Driver issue ? Default value not recognized in access patrick.le-calvez@engie.com 2017-01-17 00:34 ` Re: Driver issue ? Default value not recognized in access Adrian Klaver <adrian.klaver@aklaver.com> 2017-01-17 15:39 ` Re: Driver issue ? Default value not recognized in access patrick.le-calvez@engie.com @ 2017-01-18 15:11 ` Adrian Klaver <adrian.klaver@aklaver.com> 1 sibling, 0 replies; 5+ messages in thread From: Adrian Klaver @ 2017-01-18 15:11 UTC (permalink / raw) To: patrick.le-calvez@engie.com; pgsql-odbc On 01/17/2017 07:39 AM, patrick.le-calvez@engie.com wrote: > Hello, > > > > Thanks for your answer, > > Here are the elements you asked : > > > > > > 1) How is the table in Access linked to the Postgres database? > > I create tables linked through a ODBC connection. > > > > Here are the parameters of the connection. > > > > > > > > 2) Where do you except the default value to show up? > > > > I expect the default value to appear in 2 places. > > First, I would like to see it there : From what I can gather Access does not pull in the default values from linked tables. The default value in the table description is something you have to fill in yourself and is applicable only to Access itself. > > > > Second (and most of all), when I run my vba subs, I need to use the > default values of some fields. At this state, vba does see any. > > > > > > 3) Is the default value created in the database when you INSERT a > value without specifying it? > > > > Yes it is. > > More specifically, most of my records are inserted via a vba sub. That’s > where I need those default values the most. I do not use VBA so I will not be of much help there. All I can do is point at: https://msdn.microsoft.com/en-us/library/ms711683(v=vs.85).aspx where there is: COLUMN_DEF (ODBC 3.0) 13 Varchar The default value of the column. The value in this column should be interpreted as a string if it is enclosed in quotation marks. More digging found this: http://www.techrepublic.com/article/much-ado-about-field-properties/ Not sure if that will help or not. > > > > > > Have a good day, > > > > Patrick > > > > > > > -- Adrian Klaver adrian.klaver@aklaver.com -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc ^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2017-01-18 15:11 UTC | newest] Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2017-01-16 10:49 Driver issue ? Default value not recognized in access patrick.le-calvez@engie.com 2017-01-17 00:34 ` Adrian Klaver <adrian.klaver@aklaver.com> 2017-01-17 15:39 ` patrick.le-calvez@engie.com 2017-01-17 21:16 ` Fred Parkinson <FredP@abag.ca.gov> 2017-01-18 15:11 ` 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