donkey9972
Registered User.
- Local time
- Yesterday, 18:03
- Joined
- May 18, 2008
- Messages
- 183
I saw that after I posted the DB to here. I have since corrected it. It was supposed to be 1 to 31, simple typos from my fat fingers.
SELECT tbl_DailyRandoms.ID, Days.D_Date, tbl_DailyRandoms.[1A], tbl_DailyRandoms.[1B]
FROM tbl_DailyRandoms RIGHT JOIN (SELECT DateSerial(Year(Date()), Month(Date()), [ID]) AS D_Date FROM tbl_DailyRandomsDummy) AS Days ON tbl_DailyRandoms.D_Date = Days.D_Date;