Classic (matrix) forms in RTC (NAV 2009)

Marije_Brummel
Member, Moderators Design Patterns Posts: 4,262
For Microsoft I have been teaching NAV 2009 upgrade classes. Last week we had a return day to exchange experiences.
One of the subjects on the discussion list was using classic reports in the new Role Tailored Client. This is something everybody loves very much.
But, we started experimeting with it.
The first idea was to use the request form to simulate old forms. And it works!! You can just use the requestform with controls in the RTC.
But it get's better!!!
When you add this code to the OnInitReport trigger
FORM.RUNMODAL(0, Cust);
it just runs a classic form in the RTC. It works for all forms including Matrix forms. You can even call another form from that form. Only requirement is to use code, not properties.
Hopefully Microsoft wil not remove this feature.
One of the subjects on the discussion list was using classic reports in the new Role Tailored Client. This is something everybody loves very much.
But, we started experimeting with it.
The first idea was to use the request form to simulate old forms. And it works!! You can just use the requestform with controls in the RTC.
But it get's better!!!
When you add this code to the OnInitReport trigger
FORM.RUNMODAL(0, Cust);
it just runs a classic form in the RTC. It works for all forms including Matrix forms. You can even call another form from that form. Only requirement is to use code, not properties.
Hopefully Microsoft wil not remove this feature.

0
Comments
-
I noticed the same type of thing when you don't have an RDLC layout yet for reports, that it opens it in a classic client context. What I wonder is if that consumes an extra user, and if you show two forms like that, will it use 2 extra users. It'll be nice and all to show clasic forms like that, but if you'd need twice as many users, it'll be an expensive trick.0
-
No, this is not consuming new session and is running under the session of the RTC... ;-)0
-
Well then that opens all sorts of possibilities then doesn't it, running regular NAV forms from the RTC.0
-
Mark Brummel wrote:But it get's better!!!
When you add this code to the OnInitReport trigger
FORM.RUNMODAL(0, Cust);
\:D/
Nice.
Now does that mean I can call form 330 from RTC and have a REAL system to use?David Singleton0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions