Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Showing connection properties in the report 1

Status
Not open for further replies.
Sep 29, 2003
28
BY
How can I show connection properties (ServerName,UserName) in the report. I'm using CR9, MSSQLServer, OLE DB
 
Create a SQL Expression Field for each item you want to return. For the UserName, create the SQL Expression and under the Functions list, expand the System folder and choose the User() function. For the ServerName, type the following in the formula editor:

SERVERPROPERTY('servername')

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top