Search code examples
formsdatasourceaxaptadynamics-ax-2012x++

How to set DataSource Form LinkType property in Delayed or Passive by code?


I have to set the form DataSource LinkType Property in to Delayed or Passive, by code.

If I use the code like this, I can't choose the right value:

myDataSource_ds.linkType(JoinMode:: ...);

JoinMode only have the value ExistJoin - InnerJoin - NoExistJoin - Outerjoin , I can't set Passive or Delayed.

It's possible to have this values by code?

DataSource property

Thanks all.


Solution

  • You're using the wrong EDT. Use FormLinkType::Passive or FormLinkType::Delayed.