Show Server and Databasename from report

[:p] Is it possible to show the servername and database name from a form or a report ? I know there is a ENVIRON function, but I couldn’t find out how to use it ? regards Michael

Yes, this is a bit strange… I just can’t figure out which environment variable exist. You should report this as an incomplete help file on partnerguide.

Hi Michael There was thread regarding servername / database some days ago. Try to seach in this forum for ENVIRON or CONTEXTURL. Also try (in a report): message(CONTEXTURL); bye André

quote:


Originally posted by eromein
Yes, this is a bit strange… I just can’t figure out which environment variable exist. You should report this as an incomplete help file on partnerguide.


To see which environment variables exist, type set in a command prompt window. B.t.w., I don’t think Navision creates any environment variable, so you won’t find a servername or databasename there!