Re: Maximum Fields in SELECT statement
From: Brian Brown (BrianBrown_at_discussions.microsoft.com)
Date: 02/03/05
- Next message: Kurt Schroeder: "Re: well, it worked in sqlserver Insert fails in oledb"
- Previous message: JenC: "SQL Web Assistant: Web task not found"
- In reply to: Anatoly: "Re: Maximum Fields in SELECT statement"
- Next in thread: Anatoly: "Re: Maximum Fields in SELECT statement"
- Reply: Anatoly: "Re: Maximum Fields in SELECT statement"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 3 Feb 2005 06:01:02 -0800
Hi Anatoly,
Sorry for the late reply but I decided to test this myself. I created a
table with all of the fields that you have below. Then I created a test
Windows Application and used the wizards to configure an oleDbConnection and
an oleDbDataAdapter. When I first pulled the table over to my form I
received the same error that you are getting. Then I expanded the
SelectCommand node and invoked the Query Designer on the CommandText
property. I unchecked the * and went down the list and checked every column.
Then I went in to the form_load and assigned hooked up the datagrid on the
form to the dataset filled by the dataadapter. It ran fine with no problems.
At this point I went back to the database and added 4 more fields to it.
Then went back to the app and redid everything I have just written (being
sure to delete the old dataadapter and placing a new one on the form) and ran
it again with no problems.
Can you create a test form as I have descibed above and test it in the same
manner? If you still get an error please reply to this post describing
exactly what the error is and the exact steps that you have taken, so I can
repeat it.
I hope this helps.
- Next message: Kurt Schroeder: "Re: well, it worked in sqlserver Insert fails in oledb"
- Previous message: JenC: "SQL Web Assistant: Web task not found"
- In reply to: Anatoly: "Re: Maximum Fields in SELECT statement"
- Next in thread: Anatoly: "Re: Maximum Fields in SELECT statement"
- Reply: Anatoly: "Re: Maximum Fields in SELECT statement"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|