Hi Subbu, suppose i want to call the doRefresh method on the salesTable form, from a class/job then
TreeNode treeNode = TreeNode::findNode('Forms').AOTfindChild('SalesTable'); treeNode.AOTrefresh(); treeNode.treeNodeRelease(); treeNode = NULL; but what should i do to include the method "doRefresh" from the salesTable. i tried a few things but i get error that the Treenode object is not initialised. i had modification as treenode = TreeNode::findNode('forms').AOTfindChild('\\salesTable\methods\doRefresh'); can you tell me where am i going wrong. thanks cheers, Girish --- "Subrahmanyam, Mamidi" <[EMAIL PROTECTED]> wrote: > Hi Girish, > > How are you doing?. what if I use to get the same > result as follows. > > /****************/ > > TreeNode treeNode = > TreeNode::findNode('Forms').AOTfindChild('Form'); > ; > treeNode.AOTrefresh(); > treeNode.treeNodeRelease(); > treeNode = NULL; > > /*************************/ > > > is there any problem if I use this?. > > BTW, I will send you a seperate email with all info. > > your buddy, > subbu > > Girish Bhatkal <[EMAIL PROTECTED]> wrote: > hi, i understand the way to send the element and > refresh. But what if we want to update a datasource > of > a form (which is already open). In this case the > data > is updated in a class but the class is not directly > called from the form . > > --- wb <[EMAIL PROTECTED]> wrote: > > > --------------------------------- > Hi Girish, > You can see for example form LedgerJournalTable, > at method init > > journalFormTable = new > LedgerJournalFormTable(element); > > LedgerJournalTable ledgerJournalTable() > { > return ledgerJournalTable; > } > > hope this help you, > wb > > 2005/9/21, Girish Bhatkal > <[EMAIL PROTECTED]>: > > Hi Guys, > > > > I have a bookrefresh method on a form (which > > refreshes the datasource). Is it possible in > someway > > to run this method from a class (provided we know > the > > FORM name). > > > > I understand the way where in we get the caller > > name when the class is run from the form and > execute > > the method. > > > > But in my case the class which is going to > call > > this method on the form is not directly called > from > > the Form. > > > > i tried to use the sysGlobalCache but i could > not > > get the solution. can anyone let me know how can > we > > achieve this. > > > > thanks, > > > > cheers, > > Girish > > > > > > > Sharing the knowledge on Axapta. > > > > SPONSORED LINKS > > Business finance course > > Business to business finance > > Small business finance > > Business > finance consultant > > Business finance magazine > > Business finance uk > > > > --------------------------------- > YAHOO! GROUPS LINKS > > > Visit your group "Axapta-Knowledge-Village" on > the > web. > > To unsubscribe from this group, send an email > to: > [EMAIL PROTECTED] > > Your use of Yahoo! Groups is subject to the > Yahoo! > Terms of Service. > > > --------------------------------- > > > > > > > > > ___________________________________________________________ > > Yahoo! Messenger - NEW crystal clear PC to PC > calling worldwide with voicemail > http://uk.messenger.yahoo.com > > > Sharing the knowledge on Axapta. > > > > SPONSORED LINKS > Business finance course Business to business finance > Small business finance Business finance consultant > Business finance magazine Business finance uk > > --------------------------------- > YAHOO! GROUPS LINKS > > > Visit your group "Axapta-Knowledge-Village" on > the web. > > To unsubscribe from this group, send an email > to: > > [EMAIL PROTECTED] > > Your use of Yahoo! Groups is subject to the > Yahoo! Terms of Service. > > > --------------------------------- > > > > > --------------------------------- > Yahoo! for Good > Click here to donate to the Hurricane Katrina > relief effort. ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com ------------------------ Yahoo! Groups Sponsor --------------------~--> Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/kGEolB/TM --------------------------------------------------------------------~-> Sharing the knowledge on Axapta. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/Axapta-Knowledge-Village/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/