Results 1 to 3 of 3

Thread: Surge or Anyone on RecordSets

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 1999
    Location
    ma,usa
    Posts
    485
    This generated a "too few parameters(expected 2)" error.
    What can I do to make it go away and work good using DAO?

    strSQL = "Select * from TableName1 Inner Join TableName2 On" & _
    TableName1.Id_num = Table2.Id_num"
    Set db = OpenDatabase("C:\db2")
    Set tb = db.OpenRecordset(strSQL, dbOpenDynaset)

  2. #2
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744
    It means that you either you misspelled your field (or Table) name. Check your select statment again to see if that's the case.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jun 1999
    Location
    ma,usa
    Posts
    485

    Talking

    Thanks Serge,
    Spleling is not my strongest point! I thank you again.

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