dbTalk Databases Forums  

MS Access to MS SQL DTS step failes when source query uses a function.

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss MS Access to MS SQL DTS step failes when source query uses a function. in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
alkapin@hotmail.com
 
Posts: n/a

Default MS Access to MS SQL DTS step failes when source query uses a function. - 01-12-2006 , 05:12 PM






There is a DTS package that runs and transfers data from MS Access 2000
file to MS SQL 2000 db.

The data source for this transformation is Access query which is
similar to a view in SQL Server. This query calls a function to return
a value for one of the resulting fields, somethign like

SELECT a,b,c, GetD(val1, val2) AS d


GetD() is actually the Access VBA function in one of its modules.
Apparently you can do this.

Now, when I run above query in Access itself it works fine. When I run
a DTS package step that uses this query as the source I get error
saying "Undefined function GetD() in expression".

Any good ideas?


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 - 2012, Jelsoft Enterprises Ltd.