Results 1 to 3 of 3

Thread: [resolved] searching in access tables

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2007
    Posts
    32

    [resolved] searching in access tables

    I know this should be easyb tu I just can't seem to get it right. I am trying to take information from one table and update another table with it, what is getting me is the seek function, or how to pinpoint the location of entry to be update.
    Code:
    Dim db As Database
    Dim WellInfo As Recordset, PluggedInputTable As Recordset
    Dim currentWell As String, SQLt As String
    Set db = CurrentDb
    Set WellInfo = db.OpenRecordset("WellInfo")
    SQLt = "SELECT * FROM PLUGGEDINPUTTABLE ORDER BY PLUGGEDINPUTTABLE!WellId;"
    Set PluggedInputTable = db.OpenRecordset(SQLt)
    PluggedInputTable.MoveFirst
    Do Until PluggedInputTable.EOF
        currentWell = PluggedInputTable!WellID
        
       varbookmark = .Bookmark
       ' WellInfo.Find (WellID = currentWell)
    Last edited by brellis1; May 16th, 2007 at 09:03 AM.

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