I have a simple Contact Management Database that I have modified.
I am using this to manage mailings and calls.
I have created a table called 'Letters'
I have set a relationship between the letters and contacts as one to many, using the contact id as my primary key.(One contact can have multiple...
I am currently counting multiple values in the same field and sorting by SiteID # (SitID), but I would like to also sort by month. How can I do this?
Example:
Date
---------------
January
February
March
April
Etc.
I want to be able to sort by Site ID (SitID) and month.
Current script that...
Simon,
Thank you so much you really saved me. Please let me know where I can send a check because you deserve to have some compensation. The last question I have is how to make it so that a dealer can enter his site ID into a form and have that submit to the asp page and bring up the...
Yes, I want to output the results in a table. However I am still geting nothing. It just reads (Report for site ID "CY2KFC"), but nothing else.
Here is the full code:
<html>
<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=windows-1252">...
This seems to work:
sql = "SELECT FinLog.AppSta, Count(FinLog.SitID) AS Records FROM FinLog GROUP BY FinLog.AppSta, FinLog.SitID HAVING (((FinLog.SitID)='CY2KFC')) ORDER BY FinLog.AppSta DESC"
The good thing is that I no longer have errors, the bad part is that I must not be...
I think we are on the right track. Now I come up with this error, but it has nothing to do with your SQL statement, I think.
Here is the error:Error
Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E10)
[Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 2...
I still get this error:
Error Type:
Microsoft VBScript compilation (0x800A0401)
Expected end of statement
/please.asp, line 23, column 135
sql = "SELECT FinLog.AppSta, Count(FinLog.SitID) AS Records FROM FinLog GROUP BY FinLog.AppSta, FinLog.SitID HAVING...
Simon,
Thanks for the help, unfortunately its not working for me. I think that maybe there is something wrong with my script. Here is my entire script. I am pulling from a database named “ONLAPPCYC2K” and the table is “FinLog”.
~ Chris
<html>
<head>
<meta...
I need to count different values from the same field and have them print out four separate counts. I also need to be able to sort these by Site ID. Here is how my data looks:
X SiteID
---------------- ---------------------
3 35012
3 12345
3 35012
1 35012
1 35012
3...
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.