Hi All, Here is the code I am using but I am
unable to refresh the form once I have change the join type. void ResetData() { /**************************************************** This Form has a Data Sources InventSum
InventDim (Inner Join onto InventSum)
InventSerial (Inner join onto InventDim)
SalesLine (NonExist Join onto InventDim) The form shows the correct data all the
records from InventDim that are not in SalesLine If I change the SalesLine NonExist join to
a Exist Join at design time and open the form it show
the correct Data again... all the records from InventDim
that have been sold (in SaleLine) My Problem is that I need to chnage this
join type with the click a button and back When i use the line...
SalesLine_DS.linkType(5); // Exist Join OR
SalesLine_DS.linkType(6); // NonExist Join ...the data source linktype changes Print
SalesLine_DS.linkType(); returns the new value, but the grid is not
refreshed with the new data ******************************************************/ ; //*** j has beed declared in the
classDeclaration and //*** set to 5 or 6 with a
button and then this method is called
SalesLine_DS.linkType(j); //
SalesLine_DS.linkActive();
this.init();
InventSum_DS.executeQuery();
SalesLine_DS.executeQuery(); // InventSum_DS.init(); //
InventTable_DS.init(); // InventDim_DS.init(); //
InventSerial_DS.init(); // SalesLine_DS.init(); // this.reload(args); /********************************************************* I have also tried placing the line
SalesLine_DS.linkType(j); inside the SalesLine_DS.init()
method and in the this.init methode Please Help many thanks **********************************************************/ } The
views expressed in this email are, unless otherwise stated, those of the author
and not those of the BS3 Group or its management. The information in this
e-mail is confidential and is intended solely for the addressee. Access to this
e-mail by anyone else is unauthorised. If you are not the intended recipient,
any disclosure, copying, distribution or any action taken or omitted in
reliance on this, is prohibited and may be unlawful. Whilst all reasonable
steps are taken to ensure the accuracy and integrity of information and data
transmitted electronically and to preserve the confidentiality thereof, no
liability or responsibility whatsoever is accepted if information or data is,
for whatever reason corrupted or does not reach its intended destination. Sharing the knowledge on Axapta. Yahoo! Groups Links
|
- [Axapta-Knowledge-Village] Re-freshing/ ... Craig Fidler
- Re: [Axapta-Knowledge-Village] Re-f... Raul Llorente Peña/OPENSOLUTIONS
- RE: [Axapta-Knowledge-Village] ... Craig Fidler
- Re: RE: [Axapta-Knowledge-Village] ... Raul Llorente Peña/OPENSOLUTIONS