Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2006
    Posts
    26

    Unanswered: Help with SQL Query

    I have:

    email = rs2![nmc email address]


    strSQL = "Select * from [NMC: email test]where [nmc: email test].[nmc email address]=email"

    When I execute the code I get a few too parameters expected 1

    however, I do see a value for the email variable -- what's wrong with my syntax?

  2. #2
    Join Date
    Jul 2003
    Location
    Michigan
    Posts
    1,941
    strSQL = "Select * from [NMC: email test]where [nmc: email test].[nmc email address]='" & email & "'"
    Inspiration Through Fermentation

Posting Permissions

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