Set property from the code...
dyn45
Member Posts: 67
Is there any chance to set property from the code in the SourceTableView in the form?
0
Answers
-
No, that is not possible.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
According to the online help the FILTERGROUP(2) shoud contain the SourceTableView property2 Form Used for the filtering actions that result from the SETTABLEVIEW function; from the SourceTableView property; and from the DataItemTableView property.0
-
:oops: Didn't read the post well. I didn't see the "View" in "SourceTableView" :oops: :oops:Mark Brummel wrote:According to the online help the FILTERGROUP(2) shoud contain the SourceTableView property2 Form Used for the filtering actions that result from the SETTABLEVIEW function; from the SourceTableView property; and from the DataItemTableView property.
Mark is right, changing filtergroups, you can change the filters in it.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
thanx,
but to be more specific, how to set filter on OnActivateForm() on the table and how to disable the button "show all" from the toolbar which resets filters that are set in the code?0 -
To achieve this you can add code to the OnOpenForm trigger and use the FILTERGROUP to hide the filters from the users.0
-
Meaning:Mark Brummel wrote:To achieve this you can add code to the OnOpenForm trigger and use the FILTERGROUP to hide the filters from the users.FILTERGROUP(6); // the filtergroups lower than 6 are reserved for Navision SETRANGE(.... // put your filters, the user may not see or change FILTERGROUP(0); // filtergroup 0 is the group in which the user can play
Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
-
Problem solved.
Thanks for the help0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
