Try this,
FormRun formRun;
FormBuildDataSource fbds;
Args args = new Args();
int i;
;
args.name(YOURFORMNAMEFROMCOMBOX); //f.ex. 'BOMTable'
formRun = classFactory.formRunClass(args);
for (i = 1; i <= formRun.form().dataSourceCount(); i++)
{
fbds = formRUn.form().dataSource(i);
info(new DictTable(fbds.table()).name() + " is used on
form " + formRun.name());
// instead of info you fill a temporary table or a list view
control - or something similar ...
}
Hope this helps a little bit.
Best regards
Patrick
--- In Axapta-Knowledge-Village@yahoogroups.com, [EMAIL PROTECTED]
wrote:
>
> hi,
>
> how do i find the datasources of particular form.
>
> ex:
> ----
> if i select formname bomtable from the combo, then all the
associated
> datasources of bomtable form should be populated in the grid. how
do i do
> this?
>
>
> thank u.
>
> regs,
> Hema. S
>
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.