PC Review


Reply
Thread Tools Rate Thread

Access Crosstab query in VB.NET

 
 
=?Utf-8?B?R3JlZyBCdXNieQ==?=
Guest
Posts: n/a
 
      3rd Mar 2004
I'm trying to get an Access Crosstab query to fill a VB.NET datagrid. I'm getting an error that states "not a valid file name".. the query runs fine when I run the same SQL in Access. Can a dataAdapter be filled with data from a crosstab query


 
Reply With Quote
 
 
 
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      4th Mar 2004
* "=?Utf-8?B?R3JlZyBCdXNieQ==?=" <(E-Mail Removed)> scripsit:
> I'm trying to get an Access Crosstab query to fill a VB.NET
> datagrid. I'm getting an error that states "not a valid file name".. the
> query runs fine when I run the same SQL in Access. Can a dataAdapter be
> filled with data from a crosstab query?


You will more likely get an answer here:

<news:microsoft.public.dotnet.framework.adonet>

--
Herfried K. Wagner [MVP]
<http://dotnet.mvps.org/>
 
Reply With Quote
 
Paul Clement
Guest
Posts: n/a
 
      5th Mar 2004
On Wed, 3 Mar 2004 15:56:08 -0800, "Greg Busby" <(E-Mail Removed)> wrote:

¤ I'm trying to get an Access Crosstab query to fill a VB.NET datagrid. I'm getting an error that states "not a valid file name".. the query runs fine when I run the same SQL in Access. Can a dataAdapter be filled with data from a crosstab query?
¤

You may want to post the contents of your query. If I had to take a guess, you're probably using an
Access or ODBC reserved word as a column name. The easy fix is to enclose the column name within
brackets.


Paul ~~~ (E-Mail Removed)
Microsoft MVP (Visual Basic)
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Paramater query in a crosstab query in access 2003 =?Utf-8?B?VG9tIE1pbGxlcg==?= Microsoft Access Queries 1 31st Oct 2007 05:39 PM
Crosstab Query in Access 97 =?Utf-8?B?Q2luZHk=?= Microsoft Access Queries 1 9th Dec 2004 11:44 PM
something like crosstab query in Access .adp Microsoft Access Reports 3 23rd Sep 2004 08:34 AM
Access crosstab query =?Utf-8?B?U2hlcnJ5?= Microsoft Access Queries 1 3rd Sep 2004 10:08 PM
crosstab query Access 97 G Microsoft Access Queries 2 22nd Aug 2004 07:57 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:15 PM.