Results 1 to 4 of 4
  1. #1
    Balen is offline Novice
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    13

    buyer name and id


    Hi
    i have two table invoiceID and detail
    invoiceID have:
    ID
    buyerName
    date

    and details have
    ID
    item
    price
    qty

    i want to create other table to store all buyer names and have ID

    help please

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Go ahead and create the 3rd table (Buyers) and then replace the BuyerName in the Invoice table with the BuyerID from the Buyers table and use the NotInList event of a ComboBox to add a new Buyer.

  3. #3
    Balen is offline Novice
    Windows XP Access 2003
    Join Date
    Aug 2010
    Posts
    13
    sorry can you tell me more about NotInlist event ??

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2007
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Quote Originally Posted by Balen View Post
    sorry can you tell me more about NotInlist event ??
    When you want to select from a list, to eliminate typing errors use a ComboBox that presents the list to select from. You set the LimitToList property of the cbo to YES and when the user types in something that is not in the list a NotInList event is generated and you can then add it to the list if you want.

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

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