Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Format Column

Status
Not open for further replies.

JackSkellington

Technical User
Jul 28, 2005
86
GB
I need to format the text from one column coming from a .txt file.


' Copy each source column to the destination column
Function Main()
DTSDestination("DisDCDat") = DTSSource("DISDCDAT")
FormatDateTime(COLUMN TEXT)
Main = DTSTransformStat_OK
End Function


 
The data I have is in the form of 22.11.2002 but the following vbs fails

DTSSource("DISDCDAT") = DATETIME(DTSSource("DISDCDAT"),2)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top