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
0
Comments
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.html
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]
http://www.mibuso.com/forum/viewtopic.php?t=14824
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
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?
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...
Arhontis
https://forum.mibuso.com/search
You have to be carefull with this solution. If you're on Native DB, record "server" (virtual table actually) doesn't exists at all so you'll not be able to, even, compile the form.
Server table works only on SQL server versions...
Thanks for reporting it... Forgot to mention it... :oops:
Arhontis
https://forum.mibuso.com/search