I`m trying to display a numerical value as a bar chart, but I get the following error:

Microsoft OLE DB Provider for ODBC Drivers error `80040e14`

[Microsoft][ODBC Microsoft Access 97 Driver] Syntax error (missing operator) in query expression `max(Total Points)`.

/busmktsupp/_database/Market_Intel/market_intel_CRM_total.asp, line 22

My code is as follows:

<html>

<head>
<title>Market Intelligence CRM Sales Tracking</title>
</head>

<body>

<h1 align="center">Market Intelligence CRM Sales Tracking</h1>
<%
Set MyDb = Server.CreateObject("ASPdb.Pro")
MyDb.dbMDB = Server.MapPath("MarketIntel.mdb")
MyDb.dbColor = "7,auto"
MyDb.dbMode = "grid"
MyDb.dbGridTableTag = "CELLSPACING=4"
MyDb.dbGridHideFlds = "1,2"
MyDb.dbImageDir = "../images/"
MyDb.dbColGraph = "MarketIntel,Total Points,400,,bluebar.gif,8;"
MyDb.dbColGraph = "MarketIntel,Total Points,400,20,bluebar.gif,8;"
MyDb.dbStatusBar = "false"
MyDb.dbNavigation = "none"
MyDb.dbSQL = "SELECT * FROM TotalPoints"
MyDb.ASPdbPro
%>
</body>
</html>

The table TotalPoints is a table derived from a Make-Table query which includes 4 fields: CRM Name,Cntract,MonthtoMonth, and Total Points.

Any help as to how to correct this problem?