Click here to Skip to main content
15,899,754 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralMessenger service status (ASP) Pin
-- NA --7-Feb-03 23:19
-- NA --7-Feb-03 23:19 
GeneralRow headings in MSHFlexGrid (VB6) Pin
Andy H7-Feb-03 12:10
Andy H7-Feb-03 12:10 
GeneralADO or RDO Pin
Tarun Dutt Mathur6-Feb-03 23:27
Tarun Dutt Mathur6-Feb-03 23:27 
GeneralRe: ADO or RDO Pin
RichardGrimmer25-Feb-03 5:32
RichardGrimmer25-Feb-03 5:32 
GeneralPrinting Pin
Rage6-Feb-03 23:11
professionalRage6-Feb-03 23:11 
GeneralPrinting from Spreadsheet Pin
nm_maheswaran6-Feb-03 22:33
nm_maheswaran6-Feb-03 22:33 
GeneralForeign Key Constraint Message Pin
Mike Murphy6-Feb-03 10:58
Mike Murphy6-Feb-03 10:58 
GeneralRe: Foreign Key Constraint Message Pin
Anonymous11-Feb-03 8:58
Anonymous11-Feb-03 8:58 
Simple. You have two tables (Table1 and Table2). Table2 has records that relate to records in Table1. The only thing holding the relationship is the fact that the two tables share a common field:

Table1: Table2:
recID ID# of record recID ID# of record in table 1
Name Some name Info1 Some information related to table1
Address Some address Info2 Some information related to table1

Both tables share a recID field. But, Table2 can have multiple records with the the same recID from Table1, this is a 1-to-many relationship. One record in Table1 is related to Many records in Table2.

The problem your running into is there is a recID in Table2 that doesn't exist in Table1. It's a record that doesn't have a relationship to any record in Table1.

You can probably code a SELECT statement to find the 'orphaned' records in Table2 for you, but I don't know exactly how to do it.

GeneralPlease HELP - WindowForm Problem Pin
Mike Murphy6-Feb-03 9:51
Mike Murphy6-Feb-03 9:51 
GeneralVB.Net Tutorials (Real Ones) Pin
xBlitzerx6-Feb-03 5:11
xBlitzerx6-Feb-03 5:11 
GeneralRe: VB.Net Tutorials (Real Ones) Pin
xBlitzerx7-Feb-03 5:59
xBlitzerx7-Feb-03 5:59 
GeneralRe: VB.Net Tutorials (Real Ones) Pin
xBlitzerx7-Feb-03 5:59
xBlitzerx7-Feb-03 5:59 
GeneralRe: VB.Net Tutorials (Real Ones) Pin
Ray Cassick7-Feb-03 7:13
Ray Cassick7-Feb-03 7:13 
GeneralList of running applications in .Net Pin
Wayne Phipps5-Feb-03 8:32
Wayne Phipps5-Feb-03 8:32 
GeneralRe: List of running applications in .Net Pin
Wayne Phipps6-Feb-03 7:51
Wayne Phipps6-Feb-03 7:51 
GeneralVB.NET source code resource Pin
Gerry D5-Feb-03 8:19
Gerry D5-Feb-03 8:19 
QuestionI know it can be done ... but how ??? Pin
syedhassan45-Feb-03 7:35
syedhassan45-Feb-03 7:35 
AnswerI got it ... :) Pin
syedhassan45-Feb-03 8:01
syedhassan45-Feb-03 8:01 
Generalcomplicated question re editing datagrid Pin
mcm5-Feb-03 6:31
mcm5-Feb-03 6:31 
GeneralSwap values of two textboxes using drag and drop Pin
Ed Suyer5-Feb-03 5:13
Ed Suyer5-Feb-03 5:13 
GeneralReal HDD serial number Pin
Xanty5-Feb-03 1:06
Xanty5-Feb-03 1:06 
GeneralRe: Real HDD serial number Pin
Jerome Conus5-Feb-03 3:01
Jerome Conus5-Feb-03 3:01 
GeneralRe: Real HDD serial number Pin
Xanty5-Feb-03 4:10
Xanty5-Feb-03 4:10 
GeneralRe: Real HDD serial number Pin
Jerome Conus5-Feb-03 4:42
Jerome Conus5-Feb-03 4:42 
GeneralRe: Real HDD serial number Pin
Xanty5-Feb-03 4:54
Xanty5-Feb-03 4:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.