Connecting Tech Pros Worldwide Help | Site Map

Create a number of records base on a field value

 
LinkBack Thread Tools Search this Thread
  #1  
Old June 15th, 2006, 12:55 PM
brian.a.kennedy@gmail.com
Guest
 
Posts: n/a
Default Create a number of records base on a field value

I am a rookie and am looking to create records based on a field value.
For example - I currently have sales data for three employees:
Employee 1 has sold 12 units, EE 2 has 8 and EE 3 has 10....I want to
create a table that will show 30 records instead of 3 and list the
employee infor as well as the order #. Any advice?


  #2  
Old June 15th, 2006, 01:05 PM
Keith Wilby
Guest
 
Posts: n/a
Default Re: Create a number of records base on a field value

<brian.a.kennedy@gmail.com> wrote in message
news:1150375794.152147.293810@r2g2000cwb.googlegro ups.com...[color=blue]
>I am a rookie and am looking to create records based on a field value.
> For example - I currently have sales data for three employees:
> Employee 1 has sold 12 units, EE 2 has 8 and EE 3 has 10....I want to
> create a table that will show 30 records instead of 3 and list the
> employee infor as well as the order #. Any advice?
>[/color]

I would suggest having a look at the Northwinds example database that ships
with Access.

Regards,
Keith.
www.keithwilby.com


  #3  
Old June 15th, 2006, 03:25 PM
salad
Guest
 
Posts: n/a
Default Re: Create a number of records base on a field value

brian.a.kennedy@gmail.com wrote:
[color=blue]
> I am a rookie and am looking to create records based on a field value.
> For example - I currently have sales data for three employees:
> Employee 1 has sold 12 units, EE 2 has 8 and EE 3 has 10....I want to
> create a table that will show 30 records instead of 3 and list the
> employee infor as well as the order #. Any advice?
>[/color]
Create a query that selects the data and sorts on the employee name
  #4  
Old June 16th, 2006, 03:05 AM
pietlinden@hotmail.com
Guest
 
Posts: n/a
Default Re: Create a number of records base on a field value


brian.a.kennedy@gmail.com wrote:[color=blue]
> I am a rookie and am looking to create records based on a field value.
> For example - I currently have sales data for three employees:
> Employee 1 has sold 12 units, EE 2 has 8 and EE 3 has 10....I want to
> create a table that will show 30 records instead of 3 and list the
> employee infor as well as the order #. Any advice?[/color]

it's possible to do this with simple looping code, but why do you want
to do something like this? Sounds like a bad design (well, based on
the information provided). There may be valid reasons for doing
something like this, but you haven't explained why you want something
like this.

 

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.