473,657 Members | 2,434 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

255 Column Limit using Microsoft Access

I was hoping that Microsoft Access 2002 would allow users to see all
the columns of an Oracle database table that contained more than 255
columns. I noticed that my Oracle8 ODBC driver is only at 8.1.6.0.0
for win95, win98 and winNT. If I upgraded my ODBC driver would Access
be able to recognize the columns beyond the 255th column? or is this
an Access limitation?

Please don't lecture me about good table design and recommend
splitting the table up into smaller table(s) because that is not an
option for me at this point.

If 255 columns is an Access limitation and there is no way around it,
I'm thinking about creating a database view to virtually split the
table so that the new columns beyond the 255th column appear to be in
a different table and perhaps Access would recognize these columns.
Has anybody tried this?
Nov 12 '05 #1
3 13021
Have a look at using Pass Through queries to get around the 255 columns
limit.

Terry

"Victoria Holowchak" <VI************ ****@DOFASCO.CA > wrote in message
news:4e******** *************** ***@posting.goo gle.com...
I was hoping that Microsoft Access 2002 would allow users to see all
the columns of an Oracle database table that contained more than 255
columns. I noticed that my Oracle8 ODBC driver is only at 8.1.6.0.0
for win95, win98 and winNT. If I upgraded my ODBC driver would Access
be able to recognize the columns beyond the 255th column? or is this
an Access limitation?

Please don't lecture me about good table design and recommend
splitting the table up into smaller table(s) because that is not an
option for me at this point.

If 255 columns is an Access limitation and there is no way around it,
I'm thinking about creating a database view to virtually split the
table so that the new columns beyond the 255th column appear to be in
a different table and perhaps Access would recognize these columns.
Has anybody tried this?

Nov 12 '05 #2
I have had a similar situation. What I did was this. First, you don't
have to really have a table with 300 columns where you scroll from left
to right. So I used ADO to connect to this Oracle db and retrieved the
field count and names. I added these to a table which I could view from
a listbox. From the listbox I could pick the fields I needed to look at
and retrieved data from those fields to populate a table (which I create
on the fly using DAO). Here is the connection string for ADO to Oracle:

Dim conn As New ADODB.Connectio n, i As Long, j As Long
Dim Rst As New ADODB.Recordset , RS As Recordset

conn.Provider = "OraOLEDB.Oracl e"

conn.Connection String = "Data Source=ddd" & _
";User ID=lharris" & _
";Password=pass word"

conn.Open
Rst.CursorLocat ion = adUseClient

Rst.Open "SELECT COUNT(TRANSFER_ DT) FROM CCC2.TRANSFER WHERE TRANSFER_DT
= TO_DATE('01-01-02', 'DD-MM-YY')", conn


Note: you have to already have the Oracle ODBC driver loaded for this to
work. The data source will be whatever you named your dsn. I have
tried the ado connection without loading the Oracle ODBC driver, and got
an error. The other catch is that your sql statements have to be pl sql
(oracle sql) as above - Oracle requires casting stuff alot like TO_DATE
for date stuff).

Rich

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 12 '05 #3
TC
In addition to the other suggestions, maybe you could get your Oracle DBA to
create some views on that table. The first view would expose fields 1-200
(or whatever), the next would expose fields 201-400 (or whatever), & so on.
Then, each view is within the Access limit of 255 fields.

Then, we he/she had done that, you could beat him/her around the head about
having a table with ... (you know what's coming here!)

HTH,
TC
"Victoria Holowchak" <VI************ ****@DOFASCO.CA > wrote in message
news:4e******** *************** ***@posting.goo gle.com...
I was hoping that Microsoft Access 2002 would allow users to see all
the columns of an Oracle database table that contained more than 255
columns. I noticed that my Oracle8 ODBC driver is only at 8.1.6.0.0
for win95, win98 and winNT. If I upgraded my ODBC driver would Access
be able to recognize the columns beyond the 255th column? or is this
an Access limitation?

Please don't lecture me about good table design and recommend
splitting the table up into smaller table(s) because that is not an
option for me at this point.

If 255 columns is an Access limitation and there is no way around it,
I'm thinking about creating a database view to virtually split the
table so that the new columns beyond the 255th column appear to be in
a different table and perhaps Access would recognize these columns.
Has anybody tried this?

Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2517
by: Albretch | last post by:
I am trying to insert some textual data belonging to an HTML page into a table column with 'TEXT' as data type mysql's maual _/manual.html#String_types tell you, you may insert up to (2^16 - 1), that is 65535 characters, but I am getting errors when I try to insert a column larger than 236 characters. Initially I thought it might be because I had to escape some characters, but after playing a some scenarios and just inserting a bunch...
20
2755
by: Steve Jorgensen | last post by:
Hi all, I've just finished almost all of what has turned out to be a real bear of a project. It has to import data from a monthly spreadsheet export from another program, and convert that into normalized data. The task is made more difficult by the fact that the structure itself can vary from month to month (in well defined ways). So, I used the SQL-centric approach, taking vertical stripes at a time so that, for instance, for each...
3
3157
by: ssb | last post by:
Hello, This may be very elementary, but, need help because I am new to access programming. (1) Say, I have a column EMPLOYEE_NAME. How do I fetch (maybe, cursor ?) the values one by one and populate a combo box with these names. (this way, I can display all the EMPLOYEE_NAME values) (2) In general, can I do additional processing on column values from
6
12348
by: Hannu | last post by:
Hi. In the ldb file you can see the users of the mdb-file. If you open the mdb-file your machine and username will be written in the lbd- file. Allthough you close the mdb-file your name won't disappear from the ldb-file, before every user has closed the mdb-file. I have heard that there will be problems if the amount of users will be over 10 in mdb-files. Is that true? Hannu
4
8890
by: bdotson | last post by:
Does anyone know the record limit for a single table in Access 97? I have a client who has over 800,000 records in one table. They are experiencing math problems and timeouts when running reports. Microsoft's KB didn't seem to have a good answer. I'm going to try to get them to convert to an Access or custom VB front end and SQL on the backend, but for now, I need a justification as to the Access 97 problem. Thanks!
9
10835
by: Terry E Dow | last post by:
Howdy, I am having trouble with the objectCategory=group member.Count attribute. I get one of three counts, a number between 1-999, no member (does not contain member property), or 0. Using LDIFDE as a comparison I get the same results. No members means just that, an empty group. Zero means that the DirectorySearcher.SizeLimit has been exceeded....
19
25450
by: Owen T. Soroke | last post by:
Using VB.NET I have a ListView with several columns. Two columns contain integer values, while the remaining contain string values. I am confused as to how I would provide functionality to sort columns based on the column header the user has clicked in both Ascending and Descending formats.
8
3281
by: phillip.s.powell | last post by:
This query produces the following error: I'm sorry but I must have this "column" in the query, it's vital for required sorting order (you have to sort image_location_country in alphanumeric order, however, that column can also be null, BUT all NON-NULL fields MUST BE FIRST before all NULL fields!) I'm not sure what's happening, please help!
5
13369
by: Martin | last post by:
I'm trying to adapt a PHP script that was written to use MySQL, so that it will work with an MSAccess MDB file. An important part of the script makes use of the SQL "LIMIT" keyword available in MySQL. eg: "SELECT MyField FROM MyTable LIMIT 40,10" to select 10 records beginning at the 41st record. Can anyone tell me how I can achieve this same functionality when using ODBC functions to access an MDB file? I think I can set ROWCOUNT (or...
0
8395
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8310
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8826
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8732
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4155
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4306
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.