Connecting Tech Pros Worldwide Help | Site Map

Automagically add a field to a table

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 12th, 2005, 02:32 PM
Ken Wilkins
Guest
 
Posts: n/a
Default Automagically add a field to a table

Is there a way to add a field to a table when the same one is created in
another table? I'm working with keeping track of software for different
versions of OS. If I add a field to the Win98 table, I want it to
automatically add the same field to the Win2k table and the WinXP table. Is
that possible?

Ken Wilkins

--
-----------------------------------------------------------------
Get paid and be healthy! http://www.legacyforlife.net/?site=/ATS
Purchase one-of-a-kind Lampwork Jewelry at www.teaysriver.com

Outgoing mail scanned with Norton Antivirus



  #2  
Old November 12th, 2005, 02:32 PM
Larry Linson
Guest
 
Posts: n/a
Default Re: Automagically add a field to a table

Is there some reason that you are using the tables themselves to substitute
for having data to identify the versions to which software applies? For
example, if all the fields are the same, simply add an OperatingSystem
field, and combine them into a single table. When you want only the
information for a given O/S, use a query with the O/S name as Criteria.

No, there's no automatic way to do what you want, unless you want to write a
VBA sub or function procedure with code to add a field with a name and
properties supplied in arguments.

Larry Linson
Microsoft Access MVP



"Ken Wilkins" <gadget1@verizon.net> wrote in message
news:h8%kb.20228$Ee6.207@nwrddc01.gnilink.net...[color=blue]
> Is there a way to add a field to a table when the same one is created in
> another table? I'm working with keeping track of software for different
> versions of OS. If I add a field to the Win98 table, I want it to
> automatically add the same field to the Win2k table and the WinXP table.[/color]
Is[color=blue]
> that possible?
>
> Ken Wilkins
>
> --
> -----------------------------------------------------------------
> Get paid and be healthy! http://www.legacyforlife.net/?site=/ATS
> Purchase one-of-a-kind Lampwork Jewelry at www.teaysriver.com
>
> Outgoing mail scanned with Norton Antivirus
>
>[/color]


  #3  
Old November 12th, 2005, 02:32 PM
Bruce M. Thompson
Guest
 
Posts: n/a
Default Re: Automagically add a field to a table

> Is there a way to add a field to a table when the same one is created in[color=blue]
> another table? I'm working with keeping track of software for different
> versions of OS. If I add a field to the Win98 table, I want it to
> automatically add the same field to the Win2k table and the WinXP table. Is
> that possible?[/color]

Is there a reason why you have a separate table for each OS? If all the fields
are mirrored in each table, then you should really have just one table for all
that data with one field to identify the OS pertinent to each record.

--
Bruce M. Thompson
bthmpson@mvps.org (See the Access FAQ at http://www.mvps.org/access)[color=blue][color=green]
>> NO Email Please. Keep all communications[/color][/color]
within the newsgroups so that all might benefit.<<


  #4  
Old November 12th, 2005, 02:32 PM
Susan Pierce
Guest
 
Posts: n/a
Default Re: Automagically add a field to a table


"Ken Wilkins" <gadget1@verizon.net> wrote in message
news:h8%kb.20228$Ee6.207@nwrddc01.gnilink.net...[color=blue]
> Is there a way to add a field to a table when the same one is created in
> another table? I'm working with keeping track of software for different
> versions of OS. If I add a field to the Win98 table, I want it to
> automatically add the same field to the Win2k table and the WinXP table.[/color]
Is[color=blue]
> that possible?
>
> Ken Wilkins
>
> --
> -----------------------------------------------------------------
> Get paid and be healthy! http://www.legacyforlife.net/?site=/ATS
> Purchase one-of-a-kind Lampwork Jewelry at www.teaysriver.com
>
> Outgoing mail scanned with Norton Antivirus
>
>[/color]

Visit the official MVP site:
http://mvp.org
Susan Pierce MVP


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.