modify ur condition like this if(ledgerJournalTable.JournalType == LedgerJournalType::BPV) { txt_receviedby.visible(true); }
Thanks & Regards Pradeep S.Itnal mob:+91-9886529409 --- On Wed, 8/4/09, Khalil Rehman <khalilrehm...@hotmail.com> wrote: From: Khalil Rehman <khalilrehm...@hotmail.com> Subject: [Axapta-Knowledge-Village] Method Code To: "Knowlege Village" <axapta-knowledge-village@yahoogroups.com>, axapta-development-vill...@yahoogroups.com, "Adeel AX Technical Consultant" <adeel...@gmail.com> Date: Wednesday, 8 April, 2009, 12:17 PM Dear All, can any body help me to write a code in LedgerJournal Report. that is i want to place a Text box in Report Footer Text is "Received By". and initial Visible status is NO. we have three Journal Type (NAME) BPV, JV, Pettey Cash. now whenever Journal Name BPV or Petty Cash is selected then this text become visible. void enabletxt() { if (ledgerjournaltable .name== "BPV") { Txt_RS.visible= yes; } ; } but its not working. need urgent attention. regards. KHALIL UR REHMAN What can you do with the new Windows Live? Find out Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/