If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Access > ODBC connection to table with more than 255 fields

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-29-10, 12:49
cdudley cdudley is offline
Registered User
 
Join Date: Aug 2010
Posts: 1
ODBC connection to table with more than 255 fields

I am connecting to a table with more than 255 fields. Is there a way to choose which 255 fields the ODBC connection pulls?
Reply With Quote
  #2 (permalink)  
Old 08-29-10, 15:22
Sinndho Sinndho is online now
Registered User
 
Join Date: Mar 2009
Posts: 3,446
On the server, create a view that has 255 columns or less and link your application to that view. So many columns in a single table usually means that there is a problem with the database schema.
__________________
Have a nice day!
Reply With Quote
  #3 (permalink)  
Old 08-29-10, 18:04
healdem healdem is offline
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,250
use
Code:
select my, comma, separated, column, list from mytable
instead of
Code:
 select * from mytable
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
  #4 (permalink)  
Old 08-30-10, 06:09
myle myle is offline
(Making Your Life Easy)
 
Join Date: Feb 2004
Location: New Zealand
Posts: 1,143
my question would be why a table has more than 255 feild
__________________
hope this help

See clear as mud


StePhan McKillen
the aim is store once, not store multiple times
Remember... Optimize 'til you die!
Progaming environment:
Access based on my own environment: DAO3.6/A97/A2000/A2003
VB based on my own environment: vb6 sp5
ASP based on my own environment: 5.6
VB-NET based on my own environment started 2007
SQL-2005 based on my own environment started 2008
MYLE
Reply With Quote
Reply

Tags
255 field limit, odbc

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On