How can I create formdatasource dynamicly and add that
datasource to a dynamic form's grid??



Gökhan CAN

Hi GOKHAN ,
      The Dynamic form has been creating by using class. the sample code is
  
      Form form;
    FormRun formRun;
    FormBuildDesign formBuildDesign;
    Args        args;
  
    int i;
    str controlname;
    FormBuildStringControl formBuildStringControl;
    ;
          form = new Form();
        formBuildDesign = form.addDesign('design');
        formBuildDesign.hideToolbar(true);
      
          formBuildStringControl= formBuildDesign.addControl
(FormControlType::String,'Message');
        formBuildStringControl.Label('String Field 1');    
  
         args = new Args();
        args.object(form);
        formRun = classFactory.formRunClass(args);
        formRun.init();
        formRun.run();
         formRun.detach();
  
  u want more details, just search 'FormBuildDesign' or 'Form' in Classes
of AOT. u get more details. Regarding ur customization, u customize the
class.
  
  regards,
  vijay

[EMAIL PROTECTED] wrote:
 
Hi,

i think u can show it using html.

regs,
Hema. S


                                                                           
                                                      
                    somnath jana                                          

                    <[EMAIL PROTECTED]>           To:   
Axapta-Knowledge-Village@yahoogroups.com                         
                    Sent by:                             cc:              

                    [EMAIL PROTECTED]       Subject:     Re:
[Axapta-Knowledge-Village] Dynamic Form according to    
                    groups.com                            ledgertrans     

                                                                           
                                                      
                                                                           
                                                      
                    04/21/2006 09:41 AM                                   

                    Please respond to                                     

                    Axapta-Knowledge-Village                              

                                                                           
                                                      
                                                                           
                                                      




Hi !

  In axapta it can be easily possible through OLAP.

  Please try to work on OLAP

  Thankx
  Somnath

Gokhan Can <[EMAIL PROTECTED]> wrote:
  Hello

I want to create a form from ledgertrans table.

First I read Ledgertrans and group it by accountnum and date then the  Form
will be like

Account Num   I  01.01.2006   02.01.2006  03.01.2006  04.01.2006
05.01.2006

100                100 $
150                250 $         300 $
151
152
153
600
601
621
700


But can I do a form like this in axapta???
As I know if I want to show a table in a grid I need to add this table on
datasource.But in my form I do not have real number of days and I do not
have real number of how many account will be shown.Because these numbers
will change according to ledgertrans data.

GOKHAN CAN



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



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


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





---------------------------------
Love cheap thrills? Enjoy PC-to-Phone  calls to 30+ countries for just
2¢/min with Yahoo! Messenger with Voice.

[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

      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.








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.



--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .




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




YAHOO! GROUPS LINKS




Reply via email to