Assuming you're using SQL Server, and you're not using a stored procedure to get your data, create a SQL Expression field with this text:
[tt]
@@servername + '/'+ db_name()
[/tt]
If you are using a stored procedure, you might have to do this in an unlinked subreport, or return it from the procedure as part of your result set.
You might be able to create a SQL Expression to do this, however you'll need to learn what version of Crystal you intend to use and that it supports SQL Expressions, and what type of database you're using and the syntax for returning this information from the database as Crystal doesn't have this functionality.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.