hello,
we use financials 2.60D and have more than one database on different servers (e.g for testing). So this is the problem: How can i print the servername on a header in a report? i can see the information in the main menue (Database / information / servername) but i'm not able to get these information on my own way.
Any ideas?
Mike.b
0
Comments
i want to see the servername automatically when i start the same report on different servers.
thanks
mike.b
it's a navision-server and i found the table.
But now the next problem: How can i find out the right server?
If I start a report to have a look at the table, i see all servernames that are possible. How can i figure out the server, I'm connected to?
:oops:
mike.b
First of all: Thank you for staying with me!
Where can i find the field "myServer"? :?:
It's not part of the table 2000000051.
cu
mike.b
..but i don't give up! :?
There must be another way, because i can get the information, when i look in the database-information.
best regards
mike.b
For v2.x, the closest thing may be the string returned from 'COMMANDLINE' (provided you named the server in the Target field of the shortcut used to start Navision), but this probably won't be updated when you close/re-open databases from the File menu...
this is great!
It works and I can see all the information i want to know!
Thank you!
mike.b