dbTalk Databases Forums  

Rowset Fields properties

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


Discuss Rowset Fields properties in the microsoft.public.sqlserver.dts forum.



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

Default Rowset Fields properties - 02-01-2004 , 07:42 PM






I'm trying to return the column names of my query results. In ADO, I can
simply do this:

objResults.Fields[1].Name

That code throws an error in an ActiveX Script Task.

I'm really new at using DTS, so there might be an easy solution that I'm
overlooking. (I hope!) :-)

Thanks in Advance,
Rich



Reply With Quote
  #2  
Old   
Richard Wagner
 
Posts: n/a

Default RE: Rowset Fields properties - 02-02-2004 , 06:11 AM






Hi,

try objresults.Fields(1).Name

kind regards,
Richard

----- RB wrote: -----

I'm trying to return the column names of my query results. In ADO, I can
simply do this:

objResults.Fields[1].Name

That code throws an error in an ActiveX Script Task.

I'm really new at using DTS, so there might be an easy solution that I'm
overlooking. (I hope!) :-)

Thanks in Advance,
Rich




Reply With Quote
  #3  
Old   
Russel Loski, MCSD
 
Posts: n/a

Default RE: Rowset Fields properties - 02-02-2004 , 07:36 AM



What is the error? What scripting language are you using

Russel Loski, MCSD

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.