InviewEdit for time value

10 pts.
Tags:
Domino
Lotus Domino
Lotus Notes
Is there any way to make my code work properly? I wrote the following code snippet in my inviewedit event to make it possible to edit a numeric field and a time value field. The problem I get is that when I change the time value it results 00:00 instead of a time I wrote in a column. Please help me making this work! regards, Rebecka ********************************** Case SAVE_REQUEST REM Write the edited column view entries back to the document For i = 0 To Ubound(Colprogname) Step 1 Select Case Colprogname(i) REM Write converted numeric entry back to document Case "ordNo" Call doc.ReplaceItemValue(Colprogname(i), Cint(Columnvalue(i))) REM Write converted time entry back to document Case "klock" Dim aTimeV As Variant aTimeV = Datevalue(Columnvalue(0)) Call doc.ReplaceItemValue(Colprogname(0), aTimeV) End Select Next REM Save(force, createResponse, markRead) Call doc.Save(True, True, True) ************************************
ASKED: June 13, 2011  11:57 AM
UPDATED: June 13, 2011  12:41 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following