A Microsoft Office (Excel, Word) forum. OfficeFrustration

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   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Editing fields in a linked table



 
 
Thread Tools Display Modes
  #11  
Old September 28th, 2009, 05:02 PM posted to microsoft.public.access.tablesdbdesign
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Editing fields in a linked table

(... and here I'd been hoping that you'd come up with a magical way to
ensure R.I.!...)

Regards

Jeff

"Klatuu" wrote in message
news
Jeff,

Do you think I am as crazy as I look

No, it was not for users. I was the only one to use it. All 500 back
ends
resided on our servers. Because of the volume of data for each client, we
separated the data by client/region. Then in the user app, when the would
choose a client/region to work on, the app would drop links to the current
be
and it would relink to the one selected. One table had the path to each
be.

To avoid a loooooooonnnnnggggg week end of modifying data structure, I
would
rin the app that would modily all the bes. It took about 2 hours to run.
--
Dave Hargis, Microsoft Access MVP


"Jeff Boyce" wrote:

Dave

It sounds like you're describing a situation in which you allowed your
end-users to modify the db structure? If so, how did you maintain a
well-normalized structure, given that "normal" isn't all that normal, and
most folks don't ...?!

Regards

Jeff Boyce
Microsoft Office/Access MVP


"Klatuu" wrote in message
...
If you are trying to modify the structure of a linked table (changing a
field
name qualifies), you cannot do it easily from the front end database.
You
have to make the change in the database file (mdb, accdb) the table is
in.

It can be done, but it takes a bit of code and is not advisable unless
you
have a good reason. For example, I worked on an application where
there
were
about 500 different backend mdbs. The front end would use the one
specified
by the user selecting a client. This was because they were all very
large
with some well over a gig.

As you can imagine, if you make a structure change in this case, it is
a
lot
of manual work to open, modify, and save 500 mdbs. To solve this, I
wrote
a
small app that would use a "template" mdb where the changes had been
made,
then programmatically open each mdb and make the changes.
--
Dave Hargis, Microsoft Access MVP


"Fly Boy 5" wrote:

It was all ready unchecked.

Thanks,

"John W. Vinson" wrote:

On Thu, 24 Sep 2009 14:58:18 -0700, Fly Boy 5
wrote:

I have 3 tables linked together. Customer, Fillers & Service. All
three are
one to many.

I'm trying to change the name of two or three fields in the Service
table,
but it causes a pop up when I open the database. I tried to delete
the field
with same results.

Any suggestions would be appreciated.

Fly Boy 5

Open your database. Select Tools... Options... General.

UNCHECK the Track Name Autocorrect Information checkbox. This
feature
has
richly earned the nickname "Name Autocorrupt".

Compact and repair the database, and try again.

It might be necessary to create a new, empty database; uncheck Name
Autocorrect; and import all the objects from your current database.
--

John W. Vinson [MVP]






  #12  
Old September 28th, 2009, 05:15 PM posted to microsoft.public.access.tablesdbdesign
Klatuu
external usenet poster
 
Posts: 7,074
Default Editing fields in a linked table

LOL,
wish I had. I'd be rich and famous by now
--
Dave Hargis, Microsoft Access MVP


"Jeff Boyce" wrote:

(... and here I'd been hoping that you'd come up with a magical way to
ensure R.I.!...)

Regards

Jeff

"Klatuu" wrote in message
news
Jeff,

Do you think I am as crazy as I look

No, it was not for users. I was the only one to use it. All 500 back
ends
resided on our servers. Because of the volume of data for each client, we
separated the data by client/region. Then in the user app, when the would
choose a client/region to work on, the app would drop links to the current
be
and it would relink to the one selected. One table had the path to each
be.

To avoid a loooooooonnnnnggggg week end of modifying data structure, I
would
rin the app that would modily all the bes. It took about 2 hours to run.
--
Dave Hargis, Microsoft Access MVP


"Jeff Boyce" wrote:

Dave

It sounds like you're describing a situation in which you allowed your
end-users to modify the db structure? If so, how did you maintain a
well-normalized structure, given that "normal" isn't all that normal, and
most folks don't ...?!

Regards

Jeff Boyce
Microsoft Office/Access MVP


"Klatuu" wrote in message
...
If you are trying to modify the structure of a linked table (changing a
field
name qualifies), you cannot do it easily from the front end database.
You
have to make the change in the database file (mdb, accdb) the table is
in.

It can be done, but it takes a bit of code and is not advisable unless
you
have a good reason. For example, I worked on an application where
there
were
about 500 different backend mdbs. The front end would use the one
specified
by the user selecting a client. This was because they were all very
large
with some well over a gig.

As you can imagine, if you make a structure change in this case, it is
a
lot
of manual work to open, modify, and save 500 mdbs. To solve this, I
wrote
a
small app that would use a "template" mdb where the changes had been
made,
then programmatically open each mdb and make the changes.
--
Dave Hargis, Microsoft Access MVP


"Fly Boy 5" wrote:

It was all ready unchecked.

Thanks,

"John W. Vinson" wrote:

On Thu, 24 Sep 2009 14:58:18 -0700, Fly Boy 5
wrote:

I have 3 tables linked together. Customer, Fillers & Service. All
three are
one to many.

I'm trying to change the name of two or three fields in the Service
table,
but it causes a pop up when I open the database. I tried to delete
the field
with same results.

Any suggestions would be appreciated.

Fly Boy 5

Open your database. Select Tools... Options... General.

UNCHECK the Track Name Autocorrect Information checkbox. This
feature
has
richly earned the nickname "Name Autocorrupt".

Compact and repair the database, and try again.

It might be necessary to create a new, empty database; uncheck Name
Autocorrect; and import all the objects from your current database.
--

John W. Vinson [MVP]







 




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:07 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.