473,385 Members | 2,069 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Memo fields clobbered (Access 2003)

I have a table with 250 fields. Of course you are wondering why 250
fields... what could I possibly be storing in so many fields?

I am using this table as a general import table for files that vary
based on user selections. The input files are CSVs and can number from
2 to 175 columns. Each field is usually able to fit into a Text field
(< 255 characters) but every now and then a longer field creeps in.
since I don't know in which column a long field will show up, I had to
make all the fields Memo fields. It seems that Access can't handle
more then 100 Memo fields on an import.

I want to extend the number of importable fields to 250 (hopefully
beyond whatever they will ever need). Since the total character count
for all fields combined will be way less than the length of a single
Memo field (32K characters), I am trying to read the CSV row into a
Memo field in another table and then I parse the CSV field myself and
place the field values into fields in the 250-column general import
table.

This is working fine except that when I start running queries like
this one:

UPDATE tblRawImport SET Field108 = "Some value" WHERE ID = 150; (ID is
the Access defined key)

The updates to columns 1 - 100 work fine. When I am updating a field
number over 106, Access clobbers some of the fields that I have
already populated. So Field1 and Field2 and perhaps up to Field5 get
overwritten with gibberish (looks like some Asian character set).

So, my questions:

Is there a practical limit to the number of fields that Access 2003
can handle (separate from the published 255)?

If so, can any of you think of another way to get this data
automatically (via VBA) imported into an Access table?

Thanks one and all,
-Steph
Jan 17 '08 #1
2 4733

<st***@landauconsulting.netwrote in message
news:ee**********************************@i29g2000 prf.googlegroups.com...
I have a table with 250 fields. Of course you are wondering why 250
fields... what could I possibly be storing in so many fields?

I am using this table as a general import table for files that vary
based on user selections. The input files are CSVs and can number from
2 to 175 columns. Each field is usually able to fit into a Text field
(< 255 characters) but every now and then a longer field creeps in.
since I don't know in which column a long field will show up, I had to
make all the fields Memo fields. It seems that Access can't handle
more then 100 Memo fields on an import.

I want to extend the number of importable fields to 250 (hopefully
beyond whatever they will ever need). Since the total character count
for all fields combined will be way less than the length of a single
Memo field (32K characters), I am trying to read the CSV row into a
Memo field in another table and then I parse the CSV field myself and
place the field values into fields in the 250-column general import
table.

This is working fine except that when I start running queries like
this one:

UPDATE tblRawImport SET Field108 = "Some value" WHERE ID = 150; (ID is
the Access defined key)

The updates to columns 1 - 100 work fine. When I am updating a field
number over 106, Access clobbers some of the fields that I have
already populated. So Field1 and Field2 and perhaps up to Field5 get
overwritten with gibberish (looks like some Asian character set).

So, my questions:

Is there a practical limit to the number of fields that Access 2003
can handle (separate from the published 255)?

If so, can any of you think of another way to get this data
automatically (via VBA) imported into an Access table?

Thanks one and all,
-Steph
Write a function to open the text file, look at the 1st record and build a t
emp table to receive the file.
Jan 17 '08 #2
On Thu, 17 Jan 2008 09:54:50 -0800 (PST), st***@landauconsulting.net
wrote:

If you can repeat that "overwriting with Asian chars" in A2007 SP1,
accdb format, I'm sure MSFT would be interested.
Those CSV files probably contain repeated data, right?
E.g.
Product1, Size1, Price, other attributes
Product1, Size2, Price, other attributes
(use your imagination)
In a relational database this data should be split up into several
tables.
If you are running into the limitations of Access, you either reassess
your strategy (perhaps with the benefit of professional help), or you
go to a different database engine such as SQL Server which allows for
1024 columns (aaarrrggghhhh) and varchar(8000) and many memo (they
call it Text) fields that actually work and don't corrupt.

-Tom.

>I have a table with 250 fields. Of course you are wondering why 250
fields... what could I possibly be storing in so many fields?

I am using this table as a general import table for files that vary
based on user selections. The input files are CSVs and can number from
2 to 175 columns. Each field is usually able to fit into a Text field
(< 255 characters) but every now and then a longer field creeps in.
since I don't know in which column a long field will show up, I had to
make all the fields Memo fields. It seems that Access can't handle
more then 100 Memo fields on an import.

I want to extend the number of importable fields to 250 (hopefully
beyond whatever they will ever need). Since the total character count
for all fields combined will be way less than the length of a single
Memo field (32K characters), I am trying to read the CSV row into a
Memo field in another table and then I parse the CSV field myself and
place the field values into fields in the 250-column general import
table.

This is working fine except that when I start running queries like
this one:

UPDATE tblRawImport SET Field108 = "Some value" WHERE ID = 150; (ID is
the Access defined key)

The updates to columns 1 - 100 work fine. When I am updating a field
number over 106, Access clobbers some of the fields that I have
already populated. So Field1 and Field2 and perhaps up to Field5 get
overwritten with gibberish (looks like some Asian character set).

So, my questions:

Is there a practical limit to the number of fields that Access 2003
can handle (separate from the published 255)?

If so, can any of you think of another way to get this data
automatically (via VBA) imported into an Access table?

Thanks one and all,
-Steph
Jan 18 '08 #3

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

Similar topics

8
by: euang | last post by:
Hi, I have been using access 2000 for two years on WINDOWS NT to display dynamic aweb page using ASP My ISP has now changed to Windows 2003, and I am having major problems displaying...
6
by: Shyguy | last post by:
I want to create two buttons on a form. One would allow the user to Copy the contents of the current records memo field, the other would allow them to print. I set up a report based on the memo...
2
by: jacoballen | last post by:
I have a query that combines the results of three related tables. The memo fields are truncated to 255 characters, but I need all the information in them. I'm aware that removing code such as...
9
by: RMC | last post by:
Hello, I'm looking for a way to parse/format a memo field within a report. The Access 2000 database (application) has an equipment table that holds a memo field. Within the report, the memo...
5
by: Bluecove | last post by:
After many unsuccessful attempts at this, including the use of software from Sobolsoft, I need help! I have a table comprised of thousands of long records (all in one column which is Memo type)....
4
by: kaplan.gillian | last post by:
Hi everyone, I currently have an Access database that includes quite a few long memo fields. When I create a report of my data, Access does not allow the memo fields to be split with the page...
10
by: ARC | last post by:
This is mainly a speed question. In this example: I have a QuotesHdr table that has a few memo fields. If these memo fields are used extensively by some users, and if their are a large number of...
4
by: Charles | last post by:
Hello, I'm trying to find a good program to use for editing memo fields in Access 2003. I'd love to use Notepad or Wordpad, but the only option I'm really finding is a program called Total...
0
by: Max | last post by:
Hi I am trying to export an Access table to a fixed-width text file. The table contains 2 memo fields of approx. 1000 characters each. I am using the 'Export text wizard' to export. In this...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...

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.