Results 1 to 2 of 2
  1. #1
    RamiMohaisen is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2012
    Posts
    7

    1,000,000 Monopoly dollars to whoever solves this!

    I have one table with three fields:
    PR Number Line Number Order Number



    I have a form with two text box's and one command button: txtPRNumber, txtLineNumber and cmdAdd.

    Lets say i enter "Test PR", "7" and click the magic button. I am saying I have a PR with 7 line items. I need my table to auto populate with records. I will need 7 records in this example as shown below:
    PR Number Line Number Order Number
    Test PR 1
    Test PR 2
    Test PR 3
    Test PR 4
    Test PR 5
    Test PR 6
    Test PR 7


    I need this so I dont make errors retyping the PR number and so I dont skip a line number or repeat one. Also saves alot of time considering some of these have 100 line items.

    So really I need it to create a record in my table with PR Number the value I enter in the Text box on the form and copy this number to each record while autoincrementing the Line number.

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows XP Access 2003
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,610
    I think that you've already asked and been given an answer:https://www.accessforums.net/showthr...320#post120320
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

Please reply to this thread with any new information or opinions.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums