IF classic client FORM else if RTC page

suvidhacj
Member Posts: 3
Hi..
I am currently working on upgrade from NV 4.0 SP1 to NAV 2009 RTC.
The client will be using classic client aswell as RTC.
The database runs a form evertime the user logs in.
i.e., form.run is called in codeunit 1.
so now, in case the user uses RTC, the client should be able to open the Page instead of the form.
For this i need to add some code in CU 1 to recognise if client is opening the DB using classic client
or RTC.
something like,
IF Classic client then
FORM.RUN
else if RTC then
PAGE.RUN.
But How exactly??
I am currently working on upgrade from NV 4.0 SP1 to NAV 2009 RTC.
The client will be using classic client aswell as RTC.
The database runs a form evertime the user logs in.
i.e., form.run is called in codeunit 1.
so now, in case the user uses RTC, the client should be able to open the Page instead of the form.
For this i need to add some code in CU 1 to recognise if client is opening the DB using classic client
or RTC.
something like,
IF Classic client then
FORM.RUN
else if RTC then
PAGE.RUN.
But How exactly??
0
Answers
-
The system method ISSERVICETIER is TRUE when on RTC and FALSE when on Classic:
IF ISSERVICETIER THEN ...
0 -
anyway, if you code a form.run(21) (which is the customer card, for example) under page, it still works, because form 21 does exists.
you will probably do not need to use ISSERVICETIER instruction0 -
ISSERVICETIER works great...
Thanks a lot0
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