Weirdest Date Problem

prostheticHead

Registered User.
Local time
Tomorrow, 05:30
Joined
Dec 14, 2004
Messages
42
this is the weirdest problem ever!

Im using the ActiveX controle Calander thingo :) to get a date and drop it into a Text box

Code:
Private Sub btnSetTo_Click()
Me.txtToDate.SetFocus
Me.txtToDate = Me.calTo.Value

    Me.calTo.Visible = False
    Me.boxTo.Visible = False
    Me.labTo.Visible = False
    Me.btnSetTo.Visible = False
End Sub

then when the user clicks on a button to a qury it opens up the quiry with this in the conditions part of Create Date

[Forms]![frmStart]![txtToDate]

now ya think this would show all Records with That Date but no :)
so i though what happens if i type the date into the box and not use the Calander object

It works.... EXACTLY the same text in the text box it just dosnt make sence


hopfully someone can help me! :)

thanks
 
WHAT WHAT WAHT?!? Now it works.... ive been siting here for ages.. with it not working now it works 100%... i must have been doing something wrong sorry to waste everyones time :)
 

Users who are viewing this thread

Back
Top Bottom