(I sent this reply before but it didn't appear on the forum, I am sending it again)

I want to write a boolean returning method, and call it for every row of a query (for a specific field in the table), and if the method returns true I want to show those fields in the grid, otherwise not.

I will do complicated calculations in that method, mod operation was just an easy example:)

Is there a way to do this?

Thanks

--- In [EMAIL PROTECTED], "Holger K. Pedersen" <[EMAIL PROTECTED]> wrote:
You can use "mod" relational operator.

select yourTable
where yourTable.lastcolumn mod 3  = 0

:-)


>From: "vozadali" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: [development-axapta] Methods while collecting data on
grids data
>source
>Date: Thu, 11 Dec 2003 18:00:05 -0000
>
>I want to call a method with fields of the row while initializing
the
>Grid data, so that I can show the rows with respect to the method's
>result.
>
>
>If the all data in the table is as follow,
>
>a   1   6
>b   78  4
>c   287 90
>
>What I want to show is
>
>a   1   6
>c   287 90
>
>since the last column is multiple of 3 (An example)
>
>I will call any function to restrict the data
>
>Is there a way to do this in Axapta?
>
>Thanks
>
>
>

_________________________________________________________________
Få alle de nye og sjove ikoner med MSN Messenger
http://messenger.msn.dk/



_____

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 the Yahoo! Terms of Service.




Reply via email to