Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi there,
I'm new here and I have a question on how I can change a textfield:"Open.date" into a datefield from a .txt file?
The textfield looks like "01.12.2009" and is downloaded as a flat file from SAP R6.
Part of the script below;
LOAD
Notification,
[Desc. of Cost],
Costpl.
as Cost,
Open.date
as Notificationdate,
FROM
(
txt, codepage is 1252, embedded labels, delimiter is '|', header is 3 lines, no eof, filters(
Remove
(Col, Pos(Top, 1)),
Remove
(Row, Pos(Top, 2)),
Remove
(Col, Pos(Top, 17))
))
;
can anyone help me with this?
Hi,
try it with
date#(Open.date,'dd.mm.yyyy')
Alex:)
markbeenders, i don't know from which database you are pulling information from but if you are using sql server, u just have to convert it there before pulling the information
e.g select convert(date,'01.12.2009') as 'datefield'
Thx alex,
This works fine!
Mark Beenders