UOJ: Iconv Date Picker Issue

2004-04-19 Thread Morawa, Hans

I'm having a problem input converting a date derived from using the data
picker (DTPicker) component, the following code,

tmpRecordArray.Value(1, 1) = session.Iconv(DTPicker1.Value, D4/)

returns a status of 1 (the string supplied is invalid).

When I display it using the message box (Msgbox DTPicher1.Valus) all
looks fine eg 19/10/2004. What am I doing wrong here.

Thanks,
Hans




---
This email and any files transmitted with it are confidential to the intended 
recipient and may be privileged. If you have received this email inadvertently or you 
are not the intended recipient, you may not disseminate, distribute, copy or in any 
way rely on it. Further, you should notify the sender immediately and delete the email 
from your computer. Whilst we have taken precautions to alert us to the presence of 
computer viruses, we cannot guarantee that this email and any files transmitted with 
it are free from such viruses.
--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


Re: Iconv Date Picker Issue

2004-04-19 Thread Thomas Sprenger
Hans,

I dont know anything about DTPicker, but your date seems to have the format
DD/MM/(European format). Therefore you should try to supply the format
D4/E (or simpler DE) to your Iconv-function.

Maybe thats worth a try.
Thomas

- Original Message -
From: Morawa, Hans [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, April 19, 2004 10:47 AM
Subject: UOJ: Iconv Date Picker Issue


 tmpRecordArray.Value(1, 1) = session.Iconv(DTPicker1.Value, D4/)

 returns a status of 1 (the string supplied is invalid).

 When I display it using the message box (Msgbox DTPicher1.Valus) all
 looks fine eg 19/10/2004. What am I doing wrong here.




-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Mailscanner thanks transtec Computers for their support.

-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users


RE: Iconv Date Picker Issue (Resolved)

2004-04-19 Thread Morawa, Hans

Thomas,

That did the trick.

Thanks,
Hans


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Thomas Sprenger
Sent: Monday, 19 April 2004 5:41 PM
To: U2 Users Discussion List
Subject: Re: Iconv Date Picker Issue

Hans,

I dont know anything about DTPicker, but your date seems to have the
format
DD/MM/(European format). Therefore you should try to supply the
format
D4/E (or simpler DE) to your Iconv-function.

Maybe thats worth a try.
Thomas

- Original Message -
From: Morawa, Hans [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, April 19, 2004 10:47 AM
Subject: UOJ: Iconv Date Picker Issue


 tmpRecordArray.Value(1, 1) = session.Iconv(DTPicker1.Value, D4/)

 returns a status of 1 (the string supplied is invalid).

 When I display it using the message box (Msgbox DTPicher1.Valus) all
 looks fine eg 19/10/2004. What am I doing wrong here.




--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Mailscanner thanks transtec Computers for their support.

--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users



---
This email and any files transmitted with it are confidential to the intended 
recipient and may be privileged. If you have received this email inadvertently or you 
are not the intended recipient, you may not disseminate, distribute, copy or in any 
way rely on it. Further, you should notify the sender immediately and delete the email 
from your computer. Whilst we have taken precautions to alert us to the presence of 
computer viruses, we cannot guarantee that this email and any files transmitted with 
it are free from such viruses.
--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users