Title: RE: [development-axapta] Modify QueryRange from RunBaseReport

Hi Claudia

If (you want to it with code try this)

{

        QueryBuildRange qbr; // class decleration of report

        // init of report before super();

        qbr =   element.query().dataSourceTable(tablenum(ProdTable)).addRange(fieldnum  (ProdTable,ProdStatus));

        qbr.value(enum2str(InventAccountTypePurch::Consumption));

        qbr.status(RangeStatus::Hide);

}

else

{

        in your report open datasources/query/datasources/table/ranges and add  a field end set value " InventAccountTypePurch::Consumption" and set    status  "Hide" or "Lock"

}

I hope this helps.


-----Original Message-----
From: Claudia Göries [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 19, 2004 1:05 PM
To: [EMAIL PROTECTED]
Subject: [development-axapta] Modify QueryRange from RunBaseReport

Hi everbody,

i have a class based on RunBaseReport.

In my Report I have the Range InventPosting.InventAccountType.

I want to set the value fix to InventAccountTypePurch::Consumption

and allow no other user update.

How can i do this ?

Thanks for any hints !

cu

Claudia





------------------------ Yahoo! Groups Sponsor ---------------------~-->

Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark

Printer at MyInks.com.  Free s/h on orders $50 or more to the US & Canada.

http://www.c1tracking.com/l.asp?cid=5511

http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/saFolB/TM

---------------------------------------------------------------------~->

 

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]

<*> Your use of Yahoo! Groups is subject to:

     http://docs.yahoo.com/info/terms/

 



Yahoo! Groups Links

Reply via email to