#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default austdate

Hi Everyone,

I'm trying to import data from access to excel. i got a query with a
parameter and i have tried to put in the command parameter function in. but
strangely i'm getting an error saying "undefined function 'AustDate' in
expression.

can any1 please help me why is this error coming up.

Regards Prashant
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 400
Default austdate

Are you importig from an Access Query? Look at the SQL view of the Query.
Within the Access interface, it is possible to use any user defined function
but any SQL that uses such functions fail when using an ODBC deliver or OLEDB
provider.

I am guessing but AustDate seems like a UDF: I would guess that it
transforms dates into the Australian date format. If so, you could circumvent
the need for it by:

1. Within Access, write the Query to a Table and from your application(
SQL), read the table instead.
2. Set your data format in regional setting to the Australian format, read
your data and then reset your regional setting.

Ajay

"Prashant Gupta" wrote:

Hi Everyone,

I'm trying to import data from access to excel. i got a query with a
parameter and i have tried to put in the command parameter function in. but
strangely i'm getting an error saying "undefined function 'AustDate' in
expression.

can any1 please help me why is this error coming up.

Regards Prashant

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:16 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"