1.create a class
  // Changed on 22 Oct 2005 at 02:01:46 by Malik
class qmCategoryCall_stc
{
    qmCategoryCode_std      cat1Code;
    qmCategoryCode_std      cat2Code;
  }
  
  2. Add a method to store the value in the class
  // Changed on 22 Oct 2005 at 02:02:52 by Malik
qmCategoryCode_std Cat1code(qmCategoryCode_std c1=cat1Code)
{
  cat1Code=c1;
  return cat1Code;
}
3. call the 2nd form from this class
  // Changed on 22 Oct 2005 at 02:02:26 by Malik
void callLevel2()
{
   Args _args = new Args();
   FormRun frObj;
   ;
   _args.name(Formstr("qmCategory2_stf"));
   _args.caller(this);
   frObj = ClassFactory.formRunClass(_args);
   frObj.init();
   frObj.run();
   frObj.wait();
}
  
  4. In the 2nd form overried the init method
  // Changed on 22 Oct 2005 at 02:03:51 by Malik
public void init()
{
    super();
    if(element.args().caller()){
        _qmCategoryCall_obj = element.args().caller();
        element.setValue();
    }
  }
  
  i hope this will help u.
  bye
  Mallik

[EMAIL PROTECTED] wrote:
 
Hi

Thanks for your help

can i get some sample code regarding this........because am new to
Axapta...

thanks & Regards
sreeka


                                                                                                                                                
                    Mallikarjun Gudidevuni                                                                                                      
                    <[EMAIL PROTECTED]>              To:     Axapta-Knowledge-Village@yahoogroups.com                                       
                    Sent by:                             cc:                                                                                    
                    [EMAIL PROTECTED]       Subject:     Re: [Axapta-Knowledge-Village] how to display a value                     
                    groups.com                                                                                                                  
                                                                                                                                                
                                                                                                                                                
                    05/08/2006 03:34 PM                                                                                                         
                    Please respond to                                                                                                           
                    Axapta-Knowledge-Village                                                                                                    
                                                                                                                                                
                                                                                                                                                




Hi Sreekanth,
  This you can dot on two ways
  1. when u call the second form from  the first form. create a display
menu item for the second form and place the menu item on the first form.
goto proprities of that menu item and give the datasource as the first form
table.
  and in the second form use the agrs()(element.args().record()) and u can
get that record in the second form.

  2. By Using the class we can do this. Just creare a class and store the
value of that field warning(Text field) and get that value in the second
form.

[EMAIL PROTECTED] wrote:
  hi

i need to know about how to display a field value of a form, which is
reterived from another forms datasource

for ex:

say in my form a field called warning(Text field), say in another form
there is a field in same name whose value will be stored in a Table. i need
to take that value from that table and display it in my form
field(Warning).

thanks & regards
sreeka






Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends.



  SPONSORED LINKS
        Business finance course   Business to business finance   Small
business finance     Business finance consultant   Business finance
magazine   Business finance schools

---------------------------------
  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.


---------------------------------





---------------------------------
Get amazing travel prices for air and hotel in one click on Yahoo!
FareChase

[Non-text portions of this message have been removed]




Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends.
Yahoo! Groups Links

















Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends.



  SPONSORED LINKS
        Business finance course   Business to business finance   Small business finance     Business finance consultant   Business finance magazine   Business finance schools
   
---------------------------------
  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.

   
---------------------------------
 



           
---------------------------------
Get amazing travel prices for air and hotel in one click on Yahoo! FareChase

[Non-text portions of this message have been removed]



Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends.




SPONSORED LINKS
Business finance course Business to business finance Small business finance
Business finance consultant Business finance magazine Business finance schools


YAHOO! GROUPS LINKS




Reply via email to