Connecting Tech Pros Worldwide Help | Site Map

Create a number of records base on a field value

  #1  
Old June 15th, 2006, 01:55 PM
brian.a.kennedy@gmail.com
Guest
 
Posts: n/a
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, 02:05 PM
Keith Wilby
Guest
 
Posts: n/a

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, 04:25 PM
salad
Guest
 
Posts: n/a

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, 04:05 AM
pietlinden@hotmail.com
Guest
 
Posts: n/a

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.

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get recordcount or number of records when using linked tables Robert answers 10 May 18th, 2006 04:55 PM
Print report multiple times based on value in the report B Garner answers 2 January 31st, 2006 08:15 PM
query by field heading John young answers 13 November 12th, 2005 11:41 PM
query by field heading John young answers 3 November 12th, 2005 10:56 PM