PC Review


Reply
Thread Tools Rate Thread

Data of many records of 1 form to populate another form via Cmd bu

 
 
NAnsar
Guest
Posts: n/a
 
      30th Oct 2009
Hi,
I am working on a database in which I need to be able to use a cmd button to
populate a new form but I need to be able to add many records from the
initial form in order to do so.

for example:
for lack of a better example I will just make one up that will mock my real
life database. I have candles of varying degrees of sizes, aromas, colors,
manufacturers, etc. So each candle has its specified number such as CDL-1248.
If you open the main form that the data entry occurs to record this data it
is filled with data relevant to the specified candle. If I am creating a
requesition to fulfill an order I want to be able to look at the candle
record, click a command button that dumps the necessary information about the
candle onto the requesition. I need to be able to find another candle in the
records and add it to to the same requisition. I am really not sure how to go
about this. Any help is greatly appreciated.

thank you.
--
NAnsar
 
Reply With Quote
 
 
 
 
Jerry Whittle
Guest
Posts: n/a
 
      30th Oct 2009
You need three tables at least.

Items in which you have all the candles, holders, etc listed.

Requesitions

Requesition_Items

Why 3 tables? A candle can be order in many different Requesitions and a
Requesition can have many Items like candles. This many-to-many relationship
needs to be broke down into 2 one-to-many relationships.

The Requesition_Items table will store the Requesition number (which is the
primary key field in the Requesitions table and the Item number from the
primary key field in the Items table. That way you can see what was in each
Requesition and an Item (like candles) was in what Requesition.

If the above sounds lie Greek to you (and you aren't Greek!), I highly
recommend getting some relational database training or reading "Database
Design for Mere Mortals" by Hernandez before proceeding any further on this
database.
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


"NAnsar" wrote:

> Hi,
> I am working on a database in which I need to be able to use a cmd button to
> populate a new form but I need to be able to add many records from the
> initial form in order to do so.
>
> for example:
> for lack of a better example I will just make one up that will mock my real
> life database. I have candles of varying degrees of sizes, aromas, colors,
> manufacturers, etc. So each candle has its specified number such as CDL-1248.
> If you open the main form that the data entry occurs to record this data it
> is filled with data relevant to the specified candle. If I am creating a
> requesition to fulfill an order I want to be able to look at the candle
> record, click a command button that dumps the necessary information about the
> candle onto the requesition. I need to be able to find another candle in the
> records and add it to to the same requisition. I am really not sure how to go
> about this. Any help is greatly appreciated.
>
> thank you.
> --
> NAnsar

 
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
Fields in Main Form to Populate Records in Child Form KBFour Microsoft Access Forms 1 27th Jan 2010 06:16 AM
Data of many records of 1 form to populate another form via Cmd bu Aso Microsoft Access Forms 0 30th Oct 2009 12:10 AM
Data of many records of 1 form to populate another form via Cmd bu Aso Microsoft Access Forms 2 29th Oct 2009 08:54 PM
Data of many records of 1 form to populate another form via Cmd bu Aso Microsoft Access Forms 1 29th Oct 2009 03:50 PM
Auto-populate data in a form based on data entered in a form mthoms Microsoft Access Forms 1 28th Mar 2008 08:44 PM


Features
 

Advertising
 

Newsgroups
 


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