Insert to a link table via two seperate tables

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ArunaJo
    New Member
    • Oct 2012
    • 1

    Insert to a link table via two seperate tables

    Hi,

    I have two tables(Invoice, Item) in sql server 2008

    Table Invoice
    InvNo PK
    InvDate

    Table Item
    ItemId PK
    ItemDescription

    Table InvoiceItem
    InvNo FK
    ItemID FK

    I want to know how to get the link table updated when seperately entering data to the main tables(Invoice, Item)

    Can you give me the stored procedure
    and the coding in vb.net for the forms

    Tx
    AJ
  • zmbd
    Recognized Expert Moderator Expert
    • Mar 2012
    • 5501

    #2
    Can you show us what you've tried so far?

    Comment

    Working...