2) the easiest way is to have a check boks. when checked you only show "employed".
- Make a QueryRange in the init methot on the Datasource.
- In the executeQuery method you set the value of the range before Super()
- Erik
________________________________
Fra: [email protected] på vegne af Thomas
Sendt: on 14-12-2005 15:37
Til: [email protected]
Emne: [development-axapta] Calling a datasource method from my form
Hi,
I have a form displaying the empltable in a grid. On the same form I
have a button. On the datasource (empltable) I have created a method
that I would like to call when clicking the button in the form. How do
I do this? I cant find the correct syntax. I have tried with element
and this but without any luck.
Further I would like to add another button that filters only the
employees that have status "Employed" in the empltable. I think I can
do this by overriding the filter method on the datasource (empltable).
Can anybody help me doing this. It must be something like:
filter(fieldname2id(tablename2id("emplTable"),"status"),"Employed");
________________________________
YAHOO! GROUPS LINKS
* Visit your group "development-axapta <http://groups.yahoo.com/group/development-axapta> " on the web.
* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .
________________________________
[Non-text portions of this message have been removed]
SPONSORED LINKS
| Computer part | Programming languages | Microsoft axapta |
| Support exchange |
YAHOO! GROUPS LINKS
- Visit your group "development-axapta" 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.

