Question : Connect to a Crosstab query in Access from Excel

I am connecting to Accesss 2003 from Excel 2003 using an ODBC connection. I want the query results to load directly into Excel. This works with Select queries not with the Crosstab query I want to see. Is this simply not possible and, if so, why? Otherwise could you help, please? I am getting a message box with this message...
[Microsoft][ODBC Microsoft Access Driver]Invalid character value for cast specification on column number 28 (9)

Many thanks

Answer : Connect to a Crosstab query in Access from Excel

Here
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
<html>
<head>
<script type="text/javascript">
$verticals_arr = { 'antiques-collectibles':"Antiques & Collectibles",'auto-dealers':"Auto Dealers",'beauty-salons-spas':"Beauty Salons & Spas",'catering-services':"Catering Services",'clothing-footwear':"Clothing & Footwear",'dentists':"Dentists",'electronics':"Electronics",'entertainment':"Entertainment",'financial-planners':"Financial Planners",'florists':"Florists",'furniture-stores':"Furniture Stores",'groceries-specialty-foods':"Groceries & Specialty Foods",'health-products-services':"Health Products & Services",'home-based-businesses':"Home Based Businesses",'home-decor':"Home Decor",'home-repairs-renovations':"Home Repairs & Renovations",'hotels':"Hotels",'legal-services':"Legal Services",'mortgage-brokers':"Mortgage Brokers",'real-estate-brokers':"Real Estate Brokers",'restaurants':"Restaurants",'sporting-goods-stores':"Sporting Goods Stores",'sports-recreation':"Sports & Recreation",'other':"Other"};
function showOptionsDrop(){
  var sel = document.selectform.verticals;
  for(o in $verticals_arr) {        
    sel.options[sel.options.length]=new Option($verticals_arr[o],o)                 
  }
}  
window.onload=function() {
  showOptionsDrop();
}  
</script>
</head>
<body>
<form method='post' name='selectform'>
<select name="verticals" onchange="doValue();">
    <option value="0">Choose a Vertical</option>
</select>
</form>
</body>
</html>
Random Solutions  
 
programming4us programming4us