hi
 
I think instead of table4 u need to use the datasource (both of grid.datasource 
and field.datasource)
 
regards
 
harry

________________________________

From: Axapta-Knowledge-Village@yahoogroups.com on behalf of gopala krishna
Sent: Wed 4/12/2006 6:56 AM
To: axapta-knowledge-village@yahoogroups.com
Cc: development-axapta@yahoogroups.com
Subject: [Axapta-Knowledge-Village] set the datasource dynamically



hi,
I am trying to set the datasource dynamically.

in run method of the form i wrote the code..
  
      Grid.dataSource(Table4);
    Field1.dataSource(Table4);
    Field1.dataField(Fieldname2id(Tablename2id("Table4"),"Field1"));
    Field2.dataSource(Table4);
    Field2.dataField(Fieldname2id(Tablename2id("Table4"),"Field2"));
  but the form is not showing the data..
can anybody tell what is the  problem?
 
thanks,
Gopal

                               
---------------------------------
 Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.

[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










[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

<*> 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/
 



Reply via email to