Mattcornish
Registered User.
- Local time
- Today, 08:02
- Joined
- Jun 18, 2011
- Messages
- 12
I am passing a string to a docmd.openform that has the filter string in it
Start = Format(Text205.Text, "dd/mm/yy", vbMonday)
EndD = Format(Text208.Value, "dd/mm/yy", vbMonday)
*
If stLinkCriteria = "" Then
*
*
stLinkCriteria = "[Input Date] BETWEEN " & Start & " AND " & EndD
Ihave stepped through it and the string looks fine to me with the data filled in
I tried filtering the query it's based on directly using the same dates and it works
All I get at the minute is a blank report or a report with all entries (depending on what I have changed in the code to try get it to work)
Help me before I go insane, please please please
Cheers
Start = Format(Text205.Text, "dd/mm/yy", vbMonday)
EndD = Format(Text208.Value, "dd/mm/yy", vbMonday)
*
If stLinkCriteria = "" Then
*
*
stLinkCriteria = "[Input Date] BETWEEN " & Start & " AND " & EndD
Ihave stepped through it and the string looks fine to me with the data filled in
I tried filtering the query it's based on directly using the same dates and it works
All I get at the minute is a blank report or a report with all entries (depending on what I have changed in the code to try get it to work)
Help me before I go insane, please please please
Cheers