PC Review


Reply
Thread Tools Rate Thread

Adding New Table To Existing Database

 
 
Junior
Guest
Posts: n/a
 
      22nd Jun 2006
Good afternoon!!
I would like someone to validate what I have done. Here is it:

I am working in an existing database. I have a particular table, let's
call it [POTRL] which captures infomation pertaining to purcahse orders
issued by our company. I am not permitted to edit this table in any
way, because it is part of a VBA software application.

I need to capture some additional information - so what I did was
create a new table called [POCUST] (I checked with the vendor of the
software package, and this is acceptable) into which I will enter data
in the new fields. What I did was created the new table, with a
primary key field matching that to the [POTRL] table. I have to
somehow dump in the data from [POTRL] table into [POCUST], so that I
can establish a relationship between the two tables, build a query and
finally construct a form for data entry.

The way I dumped in the data into [POCUST] is via unmatched query, then
an append query which populates [POCUST] with all the data I want from
[POTRL]. So essentially what I have is a new table with all the data
from the "untouchable" table, plus a few extra custom fields that I
have created. Everything works fine!

I built the query, and the form for data entry. In the form's OnOpen
event, I run the macro which populates the [POCUST] table - so when the
form loads, I have the most updated information to begin data entry.

I can finally make additional data entries to populate these newly
created fields.

This is the first time I ever had to do something like this. Does my
logic make sense?? Is there another way to ahive the same result??

 
Reply With Quote
 
 
 
 
Phillip Windell
Guest
Posts: n/a
 
      27th Jun 2006
"Junior" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Good afternoon!!
> I would like someone to validate what I have done. Here is it:


The reason for doing it should be validated first. If you are doing the
wrong thing for the wrong reason, then there isn't much point to validating
the steps you took to do it.

--
Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com


 
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
Adding tasks to existing database BillA Microsoft Access Database Table Design 1 24th Mar 2008 02:34 PM
Adding Inventory management to an existing database =?Utf-8?B?SmFja0NHVw==?= Microsoft Access 0 11th Nov 2005 01:35 PM
adding formula to existing database =?Utf-8?B?Q291bnRyeSBCb3k=?= Microsoft Excel Worksheet Functions 3 5th Sep 2005 03:50 PM
Create new table from existing table (adding records) Lex Microsoft Access 0 3rd Sep 2004 06:19 PM
Adding List Box to existing database kath chiu Microsoft Access Form Coding 0 18th Nov 2003 06:25 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:05 AM.