Login | |
|
 |
RE: Creating a .CSV from a SQL Server Table - 9/19/2007 5:49:30 AM
|
|
 |
|
| |
ebgreen
Posts: 5250
Score: 31
Joined: 7/12/2005
Status: offline
|
Pretty sure that the fields are in a 0 based array, so try replacing this: for i=1 to rs.fields.count With this: for i=0 to rs.fields.count - 1
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
|
|