Hello

I am trying to link 2 tables with propel and check if a value in one column
is greater that another column in a different table.

Does any body have any ideas on how to resolve this?

      $c = new Criteria() ; 
      $c->add( AffiliateCommissionBalancePeer::TOTAL  ,
CurrencyPeer::MIN_AFFILIATE_PAYOUT  , Criteria::GREATER_EQUAL );      
      $c->addJoin(AffiliateCommissionBalancePeer::CURRENCY_ID,
CurrencyPeer::ID, Criteria::INNER_JOIN) ;


Thank you
Andrew
---

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.20.2/1270 - Release Date: 2/10/2008
12:21 PM
 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to