dbTalk Databases Forums  

Can't use current_timestamp or currval functions

comp.databases.postgresql.interfaces.odbc comp.databases.postgresql.interfaces.odbc


Discuss Can't use current_timestamp or currval functions in the comp.databases.postgresql.interfaces.odbc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mike Fahey
 
Posts: n/a

Default Can't use current_timestamp or currval functions - 11-10-2004 , 11:03 AM






I can't call currval() with the odbc driver.

I'm using odbc driver version 8.0.0.2 with MS ACcess 2003.

I get the following error in access

run-time error 3085:

undefined function 'currval' in expression.

How can i make this work?

Thanks







--
With best regards,

Mike Fahey - Systems Administration
************************************************** ******************
ENTER.NET - "The Road to the Internet Starts Here!" (tm)
(610) 437-2221 * http://www.enter.net/ * email:support (AT) enter (DOT) net
************************************************** ******************


---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend


Reply With Quote
  #2  
Old   
Jeff Eckermann
 
Posts: n/a

Default Re: Can't use current_timestamp or currval functions - 11-10-2004 , 01:15 PM







--- Mike Fahey <mfahey (AT) enter (DOT) net> wrote:

Quote:
I can't call currval() with the odbc driver.

I'm using odbc driver version 8.0.0.2 with MS
ACcess 2003.

I get the following error in access

run-time error 3085:

undefined function 'currval' in expression.

How can i make this work?
You will need to use a pass-through query, if you want
to use Postgresql syntax, functions, operators etc.
Otherwise, Access assumes that you are attempting to
use an Access function etc.

Quote:
Thanks







--
With best regards,

Mike Fahey - Systems Administration

************************************************** ******************
ENTER.NET - "The Road to the Internet Starts
Here!" (tm)
(610) 437-2221 * http://www.enter.net/ *
email:support (AT) enter (DOT) net

************************************************** ******************


---------------------------(end of
broadcast)---------------------------
TIP 8: explain analyze is your friend




__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com



---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.