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

Type mismatch error - FormatDateTime

Status
Not open for further replies.

mgifford

Programmer
Jun 3, 2004
30
US
I am getting a type mismatch error and I think it is in the following code:

'---------------------------
Sub window_onload
Dim sLocked

sLocked = "<%=sMode%>"

thisForm.Status.value = "<%=sStatus%>"
thisForm.SubmissionDate.value = FormatDateTime("<%=vSubmissionDate%>",2)
thisForm.SubmissionTime.value = FormatDateTime("<%=vSubmissionTime%>",4)
thisForm.SubmittedBy.value = "<%=sSubmittedBy%>"
thisForm.AssignedTo.value = "<%=sAssignedTo%>"
thisForm.Level.value = "<%=sLevel%>"
thisForm.ContactName.value = "<%=sContactName%>"
thisForm.ContactTeam.value = "<%=sContactTeam%>"
thisForm.ContactPhone.value = "<%=sContactPhone%>"
thisForm.IssueType.value = "<%=sIssueType%>"
thisForm.EquipmentType.value = "<%=sEquipmentType%>"
thisForm.DateRequested.value = FormatDateTime("<%=vDateRequested%>",2)
thisForm.Description.value = "<%=sDescription%>"
thisForm.OccuranceDate.value = FormatDateTime("<%=vOccuranceDate%>",2)
thisForm.OccuranceTime.value = FormatDateTime("<%=vOccuranceTime%>",4)
thisForm.OccuranceLocation.value = "<%=sOccuranceLocation%>"
thisForm.Resolution.value = "<%=sResolution%>"
thisForm.FollowUp.value = "<%=sFollowUp%>"
 
What is your exact error. Does it list a line number?

I hope you find this post helpful. Please let me know if it was.

Regards,

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top