Results 1 to 4 of 4

Thread: Adding Supplier to Database

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Dec 2002
    Location
    Central US
    Posts
    183

    Adding Supplier to Database

    I have created a Database in Access and made a form called Suppliers I am now able to see the existing data and I also am able to modify that data but I cant find no reference on how to delete or add data??
    Would someone please help??
    Thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  2. #2
    Frenzied Member Mike Hildner's Avatar
    Join Date
    Jul 2002
    Location
    Des Moines, NM
    Posts
    1,690
    How, exactly are you seeing and modifying your data. Some control?

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Dec 2002
    Location
    Central US
    Posts
    183
    by using the data control and setting its properties

  4. #4
    Frenzied Member Mike Hildner's Avatar
    Join Date
    Jul 2002
    Location
    Des Moines, NM
    Posts
    1,690
    Well, I was just looking around, and didn't actually try it, but it looks like you would use something like
    VB Code:
    1. Data1.Recordset.Delete
    2. Data1.Recordset.AddNew
    where Data1 is a Data control.

    When you add a new form, you can choose to add a "VB Data Form Wizard", the default is to use add, delete etc. buttons. Maybe you can poach some code from there.

    HTH,
    Mike

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width