T
the_dude
Hi,
I am fairly new to access so this migth be a simple problem to solve.
I have a form and have two text boxes for dates. Start Date and End Date. I
would like the input to be used as criteria in a make table query. I have
looked around and the usual way would be to use
"Between [FORMS]![MyForm]![StartDate] And [FORMS]![MyForm]![EndDate]"
However, this gives me no records. I know there are records thougth because
when I do not use the form for date entry but let Access prompt me for input
it works fine.
Can anyone help? Has it something to do with the formatting of the text
fields? I have set them to 'Format: Short Date'.
I have noticed that access puts '#' around dates when used as criteria in a
query. Could that be the problem?
I would apprciate any help.
I am fairly new to access so this migth be a simple problem to solve.
I have a form and have two text boxes for dates. Start Date and End Date. I
would like the input to be used as criteria in a make table query. I have
looked around and the usual way would be to use
"Between [FORMS]![MyForm]![StartDate] And [FORMS]![MyForm]![EndDate]"
However, this gives me no records. I know there are records thougth because
when I do not use the form for date entry but let Access prompt me for input
it works fine.
Can anyone help? Has it something to do with the formatting of the text
fields? I have set them to 'Format: Short Date'.
I have noticed that access puts '#' around dates when used as criteria in a
query. Could that be the problem?
I would apprciate any help.