Question

Asked on 2009-10-21 at 15:30:09ID: 25040654

Exist Query

by: jaymz69500

Rating9.1Excellent

I can grab the orders with the oline='FREGHT' but now I want to get only the ones that have oline='FREIGHT' > 1

* Distinct on ohcust and not exists on item='freight'
	Select Distinct ohcust, cmname, ohsta3, olico, oliloc, ohviac, ohvia, cmphon  From cCustGroupViaA As cust1 Where Exist (Select ohcust From cCustGroup As cust2 ;
		where cust2.ohcust=cust1.ohcust And cust2.olitem='FREIGHT') Into Cursor cOrdersWithoutFreightViaA readwrite
                              
1:
2:
3:

Select allOpen in new window

Related Solutions

Solution

Access this solution immediately by signing up as a member of FoxproAnswers.com--it’s quick, easy, and secure. We will return you to this solution, unlocked, when you’re done.

About this Solution
Sign up Now to View This Solution
Zone
general
Tags
Participating Experts
3
Solution Grade
A

Replies

 by: jrbbldr

Posted on 2009-10-21 at 21:05:11ID: 26270593

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: tusharkanvinde

Posted on 2009-10-21 at 22:13:58ID: 26270594

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: tusharkanvinde

Posted on 2009-10-21 at 22:15:42ID: 26270595

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 by: Olaf_Doschke

Posted on 2009-10-22 at 14:08:37ID: 26270596

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

Log In

Forgot your password?Sign up

Top Experts

  1. pcelba

    4,240

    0 points yesterday

    Profile
  2. mozner

    2,000

    0 points yesterday

    Profile
  3. mbarbir

    1,912

    0 points yesterday

    Profile
  4. jrbbldr

    1,500

    0 points yesterday

    Profile

BrowseAre you an Expert?