DataSource is a text function that returns the server name, application name, database, or alias table name of a grid. You can use this function in a text box, text cell, or a row or column heading. The function syntax is:
The following lines use the DataSource function to insert data source information in your report:
This report uses the <<DataSource("Grid1”, App)>>
with the <<DataSource("Grid1”,DB)>> database
located on the <<DataSource("Grid1”,Server)>> server
and uses the <<DataSource("Grid1”, Alias)>> alias table.The following shows the database name of the data source associated with the heading where the function was entered:
<<DataSource(cur, DB)>>
This function supports the Current keyword. For information and examples, see Current / Cur Keyword. |