Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Crystal Reports
|
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports 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 March 3rd, 2010, 03:34 PM
Registered User
 
Join Date: Mar 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Not in (!=) table link

I need to report all those tables not in another table by the sample number. I tried != in the link setup several different ways, no luck.
 
Old March 4th, 2010, 11:03 AM
Friend of Wrox
 
Join Date: Dec 2008
Posts: 238
Thanks: 2
Thanked 20 Times in 19 Posts
Default not exists

Use not exists with subquery, for example:
Code:
SELECT foo, bar FROM t1 WHERE NOT EXISTS (SELECT 1 FROM t2 where t1.samplenumber = t2.samplenumber);
 
Old March 4th, 2010, 02:23 PM
Registered User
 
Join Date: Mar 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default not exists

I ended up doing this in a view. I wanted to try to do this in the table link setup using the "!=" option in the link.





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to link FoxPro Table with VB achour Pro VB Databases 2 September 14th, 2009 09:26 AM
How to do record count for Link table in access ayazhoda Access VBA 0 April 16th, 2008 04:43 AM
Table & From link anukagni Access 3 September 8th, 2006 01:45 AM
Link Table In Access 2000 VB GURU Access VBA 6 March 16th, 2006 06:22 PM





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