CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2005

    Query with DISTINCT on access database

    I'm having trouble with my query statement. I'm pasting tables image bellow.

    Name:  distinct.jpg
Views: 218
Size:  83.9 KB

    I would like to remove duplicates based on ID_narocila column and select all items that are written in my sql statement. Can you please help me with the query.


  2. #2
    Join Date
    Jul 2001
    Sunny South Africa

    Re: Query with DISTINCT on access database

    This should have been compensated for before creating the database. If you had set up your Db not to accept duplicates, there wouldn't have been a problem, IMHO. You could have used the Indexed property of the Access field to set this up

Posting Permissions

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

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.