>Dear Sir,
>
>Where should I use your following codes?
>I mean on which event of which control.
>
>
>select stock
>set key to range thisform.txtStartDate.Value,thisform.txtEndDate.Value
>
>
>Please help again
Might be date textboxes' lostfocus.
Cetin