Hello, am trying a report that counts the number of Students who completed a specific lesson, grouped by month. The problem occurs when no students are counted for a month, instead of 0 it skips the month entirely. So the query:
SELECT Month([DateReceived]) AS Mnth, Count(tblStudent.StudID) AS...
Hello,
I've seen various forums online that address this, but none that seem to clarify the issue for me.
I have a large .mdb file due to one table in particular which is very large (1,455,000 records and counting). The DB is still under 2GB but I will need a solution for this soon (and yes...
Hello, I'm trying to create a simply query that will count the number of StudentIDs for a given month, and return 0 if it gets a null response for any of the months. In SQL view it looks as follows:
SELECT Month([DateReceived]) AS Mnth, Count(tblStudent.StudID) AS CountOfStudID
FROM tblStudent...
Hello,
I'm continuing to have a bear of a time trying to accommodate null values in my insert statement. In particular (a simplified version):
sql1 = "INSERT INTO tblStudent ( [DOB] ) VALUES ( #" & rs1![DOB] & "#) ;"
This statement works fine when there is a date in DOB. But when it is null, I...
Hello, am having a terrible time with this INSERT INTO statement. I know that single quotes go around text, dates need hashes, numerics need nothing. I can see the values for each of these is correct in debug mode, but still get the syntax error. If anyone can see the problem, would be very...
Hello, I receive the following error:
Run-time error '-2147217904 (80040e10)': No value given for one or more required parameters
when running the following code:
Set rs1 = db.OpenRecordset("SELECT * FROM tblNewStudentLog")
Do
rs1.MoveFirst
sql1 = "SELECT tblStudent.StudID...
Hello, I am trying to reference a date range using a control from a form. I can reference the form ok using: [Forms]![frmMaryLtrReview]![txtSentDate] (this works when using a range: <[Forms]![frmMaryLtrReview]![txtSentDate]). But I want to specify a range: Between...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.