matt beamish
Registered User.
- Local time
- Today, 19:50
- Joined
- Sep 21, 2000
- Messages
- 215
I have a time recording database that has been working fine for several months. A DSUM and IIf functions have now stopped working, and I think it must be to do with the month changing to 2 digits....
My DSUM relies on the conversion using functions, of any given Access date into what I have called "txtmonthyear" so 1/1/2008 would become 1 2008.
Now we have got to 10 2008 the DSUM has stopped calculating.
My DSUM function is this
Q_Monthly_Carry_Forward" is
I have tried changing my txt month year functions to include an _ rather than a space (so 10 2008 becomes 10_2008) but this hasnt brought the DSUM function back.
Any ideas appreciated. Maybe I am on the wrong track totally????
Thanks
Matt
My DSUM relies on the conversion using functions, of any given Access date into what I have called "txtmonthyear" so 1/1/2008 would become 1 2008.
Now we have got to 10 2008 the DSUM has stopped calculating.
My DSUM function is this
Code:
=DSum("Monthly_Carry_Forward","Q_Monthly_Carry_Forward","txtMonthYear<Forms!F_Daily_overall_Time_Sheet!txtMonthYear")
Q_Monthly_Carry_Forward" is
Code:
SELECT Q_Monthly_Balance.txtMonthYear, IIf([Monthly_Balance]>7.4,7.4,[Monthly_Balance]) AS Monthly_Carry_Forward, Q_Monthly_Balance.StaffInit
FROM Q_Monthly_Balance
WHERE (((Q_Monthly_Balance.StaffInit)="mgb"));
I have tried changing my txt month year functions to include an _ rather than a space (so 10 2008 becomes 10_2008) but this hasnt brought the DSUM function back.
Any ideas appreciated. Maybe I am on the wrong track totally????
Thanks
Matt