Results 1 to 3 of 3

Thread: how to use where in access

  1. #1
    Join Date
    Jul 2003
    Posts
    421

    how to use where in access

    SELECT ProductID, ProductName, SupplierID, CategoryID, QuantityPerUnit, UnitPrice, ReorderLevel, Discontinued
    FROM Products
    WHERE CategoryID=@CategoryID I got error on where clause, what is wrong
    using access(aspnet data set)
    ________
    FORD XC FALCON
    Last edited by sql; 03-06-2011 at 02:02 AM.

  2. #2
    Join Date
    Sep 2002
    Posts
    5,938
    How did you assign value to @CategoryID?

  3. #3
    Join Date
    Jun 2004
    Location
    Atlanta and Manhattan
    Posts
    607

    ... and the Error Message?

    The error message itself might be useful, too ...

    Thanks,.

    Bill

Posting Permissions

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