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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

extracting data from 1st line of flat file

Status
Not open for further replies.

aravindv26

Programmer
Sep 9, 2005
8
US
Hi all,

I have flat file in that 1st line contains Date which i need to extract and with the help of that i need to get fiscal week.

how to get the date?

Thanks in advace...
 
Does the flatfile contain numerous columns?
If so, you can read in the flatfile twice. For the real data in line 2 till the end of the file, make sure you to assign the correct value to the 'number of initial rows to skip' in the source definition.
Use the IS_DATE function in filter to pass only the first line that contains the date at the top of the flatfile...

Ties Blom
Information analyst
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top