HI Lars,



Take a look at the form SysRecordInfo, The form generates a new form and
uses FormBuildDatasource. I am having problems attaching a new data
source to an existing form at runtime. You can add a new data source,
but you can not attach a table to the data source.



/Jesper







Von: development-axapta@yahoogroups.com
[mailto:[EMAIL PROTECTED]
Gesendet: Montag, 18. April 2005 11:47
An: development-axapta@yahoogroups.com
Betreff: RE: [development-axapta] Re: Formbuilddatasource - adding a
datasource runtime to an already running form




Hi Harry,


Okay, I will try to describe what I want to do. The user should be able
to setup which forms should display some additional information in the
grid or other control. E.g. in the salestable form, some additional
fields would be displayed in the grid if the form is setup for this.
This additional data is stored in a 1:1 related table with refrecid and
reftableid relation.

Then, in the syssetupformrun I will add the datasource to the particular
form and add the display controls etc. too, thus it must be done at
runtime. I can not modify all the forms in the AOT in Axapta just for
this reason.

I hope this described it in a sensible and informative way. If not,
please let me know.

Looking forward to hearing your suggestions.

Thanks.


Best regards,


Lars Holm
Senior Technical Consultant


-----Original Message-----
From: development-axapta@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Harry
(Harshawardhan Deshpande
Sent: 17. april 2005 10:16
To: development-axapta@yahoogroups.com
Subject: Re: [development-axapta] Re: Formbuilddatasource - adding a
datasource runtime to an already running form



hi

I am not sure how to add a datasource @run time but if you could let
know exactly what you are trying to achieve then perhaps I could be of
some help.

regards

harry

--- In development-axapta@yahoogroups.com, "Lars Holm" <[EMAIL PROTECTED]>
wrote:
>
> Hi Manfred,
>
>
> Thanks for your reply. Do you know how to add a formdatasource at
> runtime? I can't find any ways to do it myself. However, I still think

> it must be a formbuilddatasource because e.g. formbuildcontrol's can
> be added at runtime - but not a formbuilddatasource. I suspect it's a
> bug in Axapta.
>
>
> Best regards,
>
> Lars Holm
> Senior Technical Consultant
>
>
>
> -----Original Message-----


           
---------------------------------
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.

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







Yahoo! Groups Links













  _____ 

Yahoo! Groups Links

*      To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
 
*      To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]
be>
 
*      Your use of Yahoo! Groups is subject to the Yahoo!
<http://docs.yahoo.com/info/terms/>  Terms of Service.



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






Yahoo! Groups Links

Reply via email to