Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB Databases Basics
|
VB Databases Basics Beginning-level VB coding questions specific to using VB with databases. Issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Databases Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 11th, 2006, 01:25 PM
Registered User
 
Join Date: Feb 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default same records shown multiple times

I have a problem with duplicate records showing in a search form.
See http://home.c2i.net/wimalie/Alie/search2.bmp
The boxes on top show words from a table 1 that are linked to records in table 2 (shown in the grey part below), and which have a relation via an intermediate table.

When selecting one of the words from table 1, records from table 2 are filtered.

Generally however I see that records from table 2 are shown multiple times, in fact as many times as they have a relation with a word in table 1. This independent whether I have searched or not.
I would like to do a kind of search maximum from table 2 by record id.
How do reduce the amount of records so that the grey part does not show duplicates? :)

Alie :)
 
Old March 8th, 2006, 10:13 AM
Authorized User
 
Join Date: Mar 2006
Posts: 80
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Describe this tables and its relationships, please.
Peko






Similar Threads
Thread Thread Starter Forum Replies Last Post
Incl certain fields if they appear multiple times SpyderSL Access VBA 1 November 4th, 2008 12:52 PM
Get records between 2 dates and times jlecates Access 1 February 21st, 2007 03:30 PM
Problem with loading user control multiple times neha mukerjee ASP.NET 2.0 Basics 0 February 24th, 2006 06:11 AM
Button Handler Being called multiple times ExDb VB Databases Basics 1 January 22nd, 2006 07:32 PM
print multiple times..multiple rows... abhit_kumar JSP Basics 3 January 18th, 2005 07:11 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.