Re: [development-axapta] Join datasource with 2 fields

2005-08-23 Thread Paulius Cerniauskas
Join datasources with "OR" operator Directly is impossible, but see ProjTable'e method lookupProj_Web()for example. I am not sure it what you need, but there query conditions are  formed in a bit different way. --- kamchung322 <[EMAIL PROTECTED]> wrote: > Hi All, > > I want to join 2 dataso

[development-axapta] Join datasource with 2 fields

2005-08-22 Thread kamchung322
Hi All, I want to join 2 datasources with 2 fields.  Following is the code : QueryBuildDataSource  qb; qb = this.query().dataSourceNo(2; qb.addLink(FieldNum(Table1, Field1), FieldNum(Table2, Field1)); qb.addLink(FieldNum(Table1, Field2), FieldNUm(Table2, Field2)); the above code will join