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 <khalilrehm...@...> wrote: > > > Dear All, > > > > how we can add OR Condition in IF Condition > > > > e.g. if (ledgerJournalTable.JournalName == "BPV") or > (ledgerJournalTable.JournalName == "VEN_INV") > > > > > so how we can add OR condition in between two conditions. > > > > your urgent reply is needed. > > > > thanks in advance. > > > > KHALIL UR REHMAN > > > > _________________________________________________________________ > Invite your mail contacts to join your friends list with Windows Live Spaces. > It's easy! > http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us >