Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. JimmyFlynn

    Dcount problems using variables

    Cracked it!!!!!!!!! myresult = dcount("[myfield]","mytable","[myfield]=" & mysearch) just a little ampersand makes all the difference B-) Jim
  2. JimmyFlynn

    Dcount problems using variables

    Hhhmmmm .... Run-time error '3464': Data type mismatch in criteria expression This seems to say that mysearch and myfield are not compatible ... checked the table and the filed property is set to integer??? Any other ideas? Jim
  3. JimmyFlynn

    Dcount problems using variables

    Hi! This works ... dim myresult as integer myresult = dcount("[myfield]","mytable","[myfield]=12345") This doesn't! dim myresult as integer, mysearch as integer mysearch = 12345 myresult =...

Part and Inventory Search

Back
Top