This would be a standard report connecting to an oracle database. This is done outside the application. Could you provide an example of your suggestion?
No - the connection string for the database is identified or chosen when the report is developed. At runtime, the user (or the schedule) simply provides a password. What I am looking for is a function or formula that gets the database name (i.e., connection) for display purposes. I can create a formula that I can display this info with but it would be hard coded and if the database name changed the report would not know it.
Goto Insert -> Field Object -> SQL Expression Fields
Create a new SQL Expression Field, give a name and editor will be opened. In the functions box, there would be a tree called System, open it and you can see the functions:
suser_name => User ID
db_name => Database Name
There are many variables and you can easily form your Connection String in your desired format and can drag and drop onto your Report.
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.