[Axapta-Knowledge-Village] Re: URGENT: OR condition in method.

2009-04-11 Thread nageshsinha
Or condition in axapta is included in the code by the double pipe symbol (||) and not by the word OR. Try this: if(ledgerJournalTable.JournalName == "BPV" || ledgerJournalTable.JournalName == "VEN_INV") --- In Axapta-Knowledge-Village@yahoogroups.com, Khalil Rehman wrote: > > > Dear All,

RE: [Axapta-Knowledge-Village] Re: URGENT: OR condition in method.

2009-04-09 Thread Khalil Rehman
KHALIL UR REHMAN Dear Sumit this condition also gives me Syntax Error. anyother solution. regards. Khalil To: Axapta-Knowledge-Village@yahoogroups.com From: loya.su...@gmail.com Date: Thu, 9 Apr 2009 12:59:25 +0530 Subject: Re: [Axapta-Knowledge-Village] Re: URGENT: OR

Re: [Axapta-Knowledge-Village] Re: URGENT: OR condition in method.

2009-04-09 Thread Sumit Loya
REHMAN * > > Dear Sumit > >this condition also gives me Syntax Error. anyother solution. > > regards. > > Khalil > > > > > -- > To: Axapta-Knowledge-Village@yahoogroups.com > From: loya.su...@gmail.com > Date: Thu,

RE: [Axapta-Knowledge-Village] Re: URGENT: OR condition in method.

2009-04-09 Thread Khalil Rehman
: URGENT: OR condition in method. Hi Khalil, Didnt notice that you need this OR in IF condition... Gave you the solution for select statements. Yes you can use or as shown by Santosh Regards, Sumit On Thu, Apr 9, 2009 at 12:02 PM, r_ssh wrote: Hi Khalil Rehman, Example: To add

Re: [Axapta-Knowledge-Village] Re: URGENT: OR condition in method.

2009-04-09 Thread Sumit Loya
Hi Khalil, Didnt notice that you need this OR in IF condition... Gave you the solution for select statements. Yes you can use or as shown by Santosh Regards, Sumit On Thu, Apr 9, 2009 at 12:02 PM, r_ssh wrote: > > > Hi Khalil Rehman, > > Example: To add OR condition in a IF condition. > if(l

[Axapta-Knowledge-Village] Re: URGENT: OR condition in method.

2009-04-09 Thread r_ssh
Hi Khalil Rehman, Example: To add OR condition in a IF condition. if(ledgerJournalTable.JournalName == "BPV")||(ledgerJournalTable.JournalName == "VEN_INV") Thanks Santosh.R --- In Axapta-Knowledge-Village@yahoogroups.com, Khalil Rehman wrote: > > > Dear All, > > > > how we can add O