I'm a bit confuse about fetchmode and joinmode, what is exactly the
two method means ?

'cause sometimes a report can use fetch mode, but with value of
joinmode

for example :
QueryBuildDataSource1  = Query.adddatasource(tablenum(SalesTable));
QueryBuildDataSource2 = QueryBuildDataSource1.adddatasource(tablenum
(LedgerJournalTrans));

QueryBuildDataSource2.addlink(fieldnum(SalesTable, SalesId), fieldnum
(LedgerJournalTrans, SalesId));
QueryBuildDataSource2.JoinMode(JoinMode::Existjoin)
.
.
.

and then I see in some example using FetchMode, like this :
QueryBuildDataSource2.FetchMode(JoinMode::ExistJoin);
.
.

NB: the two example actually not related, but the point is, Is it
right to join table with FetchMode like example no.2 ? Example no 1
seems more logic to me....

I appreciate any kind of information :))
Thanks,











Yahoo! Groups Links

Reply via email to