NigelShaw
Registered User.
- Local time
- Today, 23:20
- Joined
- Jan 11, 2008
- Messages
- 1,572
Hi Pat,
its like an ongoing saga.....
i have changed it to
DteCurrPerd = "ProcessDate Between #" & BldPrevDT & "# AND #" & BldCurDT & "#"
this line will now look up the date
i removed ALL data from the table and run the code. no record was there so i was told the month had NOT been completed. i placed in a date between the period and i got the other message saying the month HAS been completed.
i then moved my PC date forward 2 months to check. it still gives me the message that the month HAS been completed even though 2 mon ths ahead, the entered date is out of the between range therefore should not be included.
NS
its like an ongoing saga.....
i have changed it to
DteCurrPerd = "ProcessDate Between #" & BldPrevDT & "# AND #" & BldCurDT & "#"
this line will now look up the date
i then moved my PC date forward 2 months to check. it still gives me the message that the month HAS been completed even though 2 mon ths ahead, the entered date is out of the between range therefore should not be included.
NS