+ Reply to Thread
Results 1 to 2 of 2

Search for a record in an Access database?

  1. #1
    Forum Contributor
    Join Date
    11-17-2009
    Location
    PA USA
    MS-Off Ver
    Excel 2000
    Posts
    184

    Question Search for a record in an Access database?

    I have this code that adds records to an Access database from an Excel workbook.
    I would like to change this code so it will look for the part number (applied_pn) in the database and only create a record if the part number does not already exist.

    Basically I need to search for a record in an Access database, and if it is not found, add a new record to the database.

    Thank you for helping me.

    Excel 2000
    Access 2000

    Please Login or Register  to view this content.
    Last edited by proepert; 03-08-2011 at 08:57 PM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Search for a record in an Access database?

    see: http://www.java2s.com/Code/VBA-Excel...rdset-Find.htm

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1