How to display the Database Name

Hi, I do not know if this is a stupid question (if yes apologies for my ignorance [:I]), but is there any way to display the Database Name ? I am trying to do this on a new form I am creating, but I cannot find any command to retrieve the database name. Thank you very much for any suggestions. By the way, I am using Nav 3.7 on SQL 2000 server.

Look at the Online Help for the CONTEXTURL function and search the forum for this function also. You will get your answer.

Nelson, thanks a million for your quick reply. Infact there is the exact answer (including code) on the Technical forum. Link: http://www.navision.net/forum/topic.asp?TOPIC_ID=12970&SearchTerms=contexturl