Thanks for your reply, i have taken it on board.
At the moment i have the following code, which stores the input date as variable batchdate. But for some reason it is not working when i try it. i get #Name? come up in the field.
Private Sub Command4_Click()
Dim batchdate As String
batchdate =...