Re: 127 Column Limit
- From: "David W. Fenton" <XXXusenet@xxxxxxxxxxxxxxxxxxx>
- Date: Thu, 31 May 2007 20:34:13 -0500
"Bill" <b@xxxxx> wrote in
news:#u9ZjT9oHHA.3264@xxxxxxxxxxxxxxxxxxxx:
I inherited a small Access database that uses replication to
support a mobile application. While I'm not new to MS-Access, I am
new to its replication functionality.
1. Am I imagining a 127 column limit to tables in a replicated
database? One of the first changes I had to make to the database
was to add columns to a fairly wide table. All but one of the new
columns are visible in Access.
Do you have SHOW HIDDEN OBJECTS turned on? If not, you won't see the
replication fields.
That is, 127 columns are visible and the 128th isn't. But I know
the column was added successfully since I can see it (along with
all the replication-related columns) if I import the table to a
non-replicated database (and also Access won't let me add the
column again in the replication master).
There is something wrong with your data schema if you think you need
127 columns. I've never had any tables beyond about 50 colums, and
even those could have been better normalized.
The limit on the number of fields in a replicated table is going to
depend on what kind of fields you have. Replication adds at least 3
fields, but for every memo field, it adds at least one more field.
If you have a lot of memo fields, you are likely to encounter
corruption problems and should probably split those out into a
separate memo table.
But 127 fields is without question a poorly normalized structure and
should be rethought from the ground up.
2. How does one make a copy of the replication master for
development/testing? I've already found out I can't assume a
non-replicated database works the same as the replicated ones. And
I'm certainly not going to develop in the production system. What
does one do?
Use a replica for your development and when you have to make schema
changes, make your replica the design master. Then when you roll out
your schema changes, you'll have to redo them in the real design
master.
Keep in mind that you should only be replicating data tables -- you
shouldn't be replicating the front end at all. You should have your
app split into back end (data tables only) and front end
(forms/queries/reports/etc.) with links to the back end. And the
front end should not be replicated because replication simply does
not work for front ends.
--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
.
- Follow-Ups:
- Re: 127 Column Limit
- From: Bill
- Re: 127 Column Limit
- References:
- 127 Column Limit
- From: Bill
- 127 Column Limit
- Prev by Date: 127 Column Limit
- Next by Date: Re: 127 Column Limit
- Previous by thread: 127 Column Limit
- Next by thread: Re: 127 Column Limit
- Index(es):
Relevant Pages
|