Background color in Navision?
tentacle
Member Posts: 27
Hi,
is it possible to change the background color of Navision from grey to any other color? (Edit: we are running 4.03)
We have 2 Navision Databases (one live and one dev) just before the go-live. The only difference between those databases is the small ending -DEV in one of them. I want to avoid that any user thinks he uses the DEV database and plays around with the 'real' data. So some red color might help!?
Thanks
is it possible to change the background color of Navision from grey to any other color? (Edit: we are running 4.03)
We have 2 Navision Databases (one live and one dev) just before the go-live. The only difference between those databases is the small ending -DEV in one of them. I want to avoid that any user thinks he uses the DEV database and plays around with the 'real' data. So some red color might help!?
Thanks
0
Comments
-
We use a very small Form which we will run from Codeunit 1.
This Form appears always in the upper left corner and shows the Database-Name.
In OnFormat, we change the color of the textbox, so everybody can see, if he/she is on the "Live db", "Test DB" or in "Dev DB".
As you come from germany, you can have a look at this discussion: http://www.msdynamics.de/ftopic1367.htmlTimo Lässer
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]0 -
I posted a solutions some time ago in this thread:
http://www.mibuso.com/forum/viewtopic.php?t=148240 -
This is a very good idea Waldo.
So I need to get the database name in Navision. Somebody wrote in the download section should be some code for it but unfortunately I can not find it?
Company name seems to be easy but what about database name?0 -
I use this in CodeUnit and call it an form similar as discribed above:
dbname() sret : Text[1000]
name:=CONTEXTURL;
i:=STRPOS(name,'database=');
IF i > 0 THEN BEGIN
name:=COPYSTR(name,i+9,999);
i:=STRPOS(name,'&');
dbname:=COPYSTR(name,1,i-1);
END;
sret:=dbname;
PS: I found it once in the forum...geri0 -
Example of getting the db name, the server you are connected to, the userid and the computer name you are connecting with..
Name DataType Subtype Length vSession Record Session vServer Record Server ServerName Text 150 DatabaseName Text 150 OtherInfo Text 150 DatabaseName := ''; OtherInfo := ''; ServerName := ''; vSession.SETRANGE("My Session", vSession."My Session"::"1"); IF vSession.FIND('-') THEN BEGIN DatabaseName :=vSession."Database Name"; OtherInfo := vSession."User ID" +'-PC:'+vSession."Host Name"; END; vServer.SETRANGE("My Server", vServer."My Server"::"1"); IF vServer.FIND('-') THEN ServerName := vServer."Server Name";0 -
thanks, works very fine!0
-
You are absolutely right Phenno...
Thanks for reporting it... Forgot to mention it... :oops:0
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


