|
-
Aug 2nd, 2007, 11:15 AM
#1
Thread Starter
Member
Type mismatch
I am getting this error while trying to use the control...
"Type mismatch "
The function is:
Private Sub Command1_Click()
'ways(routeList.ListIndex).timeOpen = timeConvert(Trim(timeStart.Text))
'ways(routeList.ListIndex).timeClose = timeConvert(Trim(timeEnd.Text))
ways(routeList.ListIndex).timeOpen = Format(Trim(timeStart.Text), "hh:mm AMPM")
ways(routeList.ListIndex).timeClose = Format(Trim(timeStart.Text), "hh:mm AMPM")
target = fillTime(routeList.ListIndex)
End Sub
===>The error place
schedway = ways
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|