Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB Databases Basics
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 11th, 2006, 01:25 PM
Registered User
Join Date: Feb 2006
Location: Hoenefoss, , Norway.
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 :)
Reply With Quote
  #2 (permalink)  
Old March 8th, 2006, 10:13 AM
Authorized User
Join Date: Mar 2006
Location: Bratislava, , Slovakia.
Posts: 80
Thanks: 0
Thanked 0 Times in 0 Posts

Describe this tables and its relationships, please.

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 09:14 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.