I guess your button is a MenuItemButton.  If so, set its DataSource has 
ProjTable.  In your report init() you can do this :

ProjTable projTab;

super();

projTab = element.args().record();
element.query().dataSourceTable(tableNum(TableOfYourRange)).addRange(...).value(projTab.ProjId);

or .rangeField(...) depending if the range already exist.

Steeve... 


-----Message d'origine-----
De : breck_999 [mailto:[EMAIL PROTECTED] 
Envoyé : 18 janvier 2005 08:45
À : Axapta-Knowledge-Village@yahoogroups.com
Objet : [Axapta-Knowledge-Village] Range in report



I run a simple report from a button in a form based on ProjTable. I 
want the ProjId-range in the report to be pre-filled with the ProjId 
in the actual record in my form. So I don't have to fill it in 
manually. How can I do this?






Sharing the knowledge on Axapta. 
Yahoo! Groups Links



 





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/kGEolB/TM
--------------------------------------------------------------------~-> 

Sharing the knowledge on Axapta. 
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