PC Review


Reply
Thread Tools Rate Thread

Create Table after a record is inserted

 
 
Leonidas
Guest
Posts: n/a
 
      8th Jan 2008
Hi,

I have a table with the name of all my suppliers. Every time I add a new
supplier I want a table with a standard structure and name of the spesific
supplier to be created.

Is it possible to be done?

Thank you,
Leon
 
Reply With Quote
 
 
 
 
Maurice
Guest
Posts: n/a
 
      8th Jan 2008
So you want a table for every supplier or you want the suppliertable
constantly duplicated. I don't think that's following the normalization rules
and you might be in a lot of trouble with maintenance on your db.
--
Maurice Ausum


"Leonidas" wrote:

> Hi,
>
> I have a table with the name of all my suppliers. Every time I add a new
> supplier I want a table with a standard structure and name of the spesific
> supplier to be created.
>
> Is it possible to be done?
>
> Thank you,
> Leon

 
Reply With Quote
 
Leonidas
Guest
Posts: n/a
 
      8th Jan 2008
I want a table for every supplier.
But probable I could store all the transactions with suppliers in one table
as well...

"Maurice" wrote:

> So you want a table for every supplier or you want the suppliertable
> constantly duplicated. I don't think that's following the normalization rules
> and you might be in a lot of trouble with maintenance on your db.
> --
> Maurice Ausum
>
>
> "Leonidas" wrote:
>
> > Hi,
> >
> > I have a table with the name of all my suppliers. Every time I add a new
> > supplier I want a table with a standard structure and name of the spesific
> > supplier to be created.
> >
> > Is it possible to be done?
> >
> > Thank you,
> > Leon

 
Reply With Quote
 
Maurice
Guest
Posts: n/a
 
      8th Jan 2008
Your correct on you last comment. Maybe i'm misunderstanding but you should
keep all your suppliers in one table called suppliers and store the
transactions in a seperate table.
--
Maurice Ausum


"Leonidas" wrote:

> I want a table for every supplier.
> But probable I could store all the transactions with suppliers in one table
> as well...
>
> "Maurice" wrote:
>
> > So you want a table for every supplier or you want the suppliertable
> > constantly duplicated. I don't think that's following the normalization rules
> > and you might be in a lot of trouble with maintenance on your db.
> > --
> > Maurice Ausum
> >
> >
> > "Leonidas" wrote:
> >
> > > Hi,
> > >
> > > I have a table with the name of all my suppliers. Every time I add a new
> > > supplier I want a table with a standard structure and name of the spesific
> > > supplier to be created.
> > >
> > > Is it possible to be done?
> > >
> > > Thank you,
> > > Leon

 
Reply With Quote
 
Leonidas
Guest
Posts: n/a
 
      9th Jan 2008
So, you say that is better to have one table with all the suppliers and
another one with all the transactions...and not a separate table for the
transaction of every supplier.
 
Reply With Quote
 
Maurice
Guest
Posts: n/a
 
      9th Jan 2008
Depends on what you are looking for. It seems that you can have various
transactions and every transaction is done by a certain supplier. In that
case you can add the supplierID to the transaction and you know which
supplier supplied which transaction. In that case you have two tables a
supplier table and a transactiontable.
--
Maurice Ausum


"Leonidas" wrote:

> So, you say that is better to have one table with all the suppliers and
> another one with all the transactions...and not a separate table for the
> transaction of every supplier.

 
Reply With Quote
 
John W. Vinson
Guest
Posts: n/a
 
      9th Jan 2008
On Tue, 8 Jan 2008 23:18:00 -0800, Leonidas
<(E-Mail Removed)> wrote:

>So, you say that is better to have one table with all the suppliers and
>another one with all the transactions...and not a separate table for the
>transaction of every supplier.


<SHUDDER>

Absolutely.

Creating a new table for every instance of an item of data is simply wrong.


John W. Vinson [MVP]
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
create a table of contents from documents inserted as object Bobomio Microsoft Word Document Management 1 14th Apr 2010 07:27 PM
Re: Blank record inserted in table Dirk Goldgar Microsoft Access Form Coding 1 22nd Dec 2009 01:43 AM
auto refresh datagrid when any record inserted in the table =?Utf-8?B?VmluY3k=?= Microsoft C# .NET 0 28th Sep 2006 11:02 AM
Locked new inserted record in linked table from SQL database =?Utf-8?B?YWxpa2dt?= Microsoft Access 0 30th Aug 2006 06:55 AM
how to create a table automatically after a data is inserted? =?Utf-8?B?QW5kcmUgQmF6aW4=?= Microsoft Access Database Table Design 4 30th Jan 2005 11:28 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:30 PM.