Blank RDL Template - IanEmer |
09-May-08 07:26:01
|
I know you can defined your own templates for the RDL files,
however, what I am looking for is to define defaults for an RLD file for
example:
if a new table is created in a RDL file it would have my predefined default
font, cell colour, cell width etc. Is this possible, and if so how is this
done?
thanks
Ian |
 |
| |
|
|
| |
Blank RDL Template - Alain Quesnel |
09-May-08 07:48:09
|
On MSSQL 2005, the directory for templates is this:
C:\Program Files\Microsoft Visual Studio
8\Common7\IDE\PrivateAssemblies\ProjectItems\ReportProject
Save an rdl file in there (with a default header, footer, font, etc.), and
it will show up when you add a new report item to your project.
Alain Quesnel
alainsansspam@logiquel.com
www.logiquel.com |
 |
| |
|
|
Blank RDL Template - IanEmer |
09-May-08 08:44:01
|
I know about putting a template there however, I wondered if its possible to
define the initial defaults of tables etc such that if a new table is dragged
into a report, the default values could be predefine- fonts, colour etc.
for example.
create a new report, and drag a table onto this report. This table now has
default items eg padding set to 2pt. Where is this information stored and
could it be customised.
with the solution you suggesteed you would have to create a default
template, copy a table onto that report change the attrubutes and save the
template again. This is a messy solution. For example you create a report
with a table, then add another table at a later time, this 2nd table does not
have you custom attributes but the default ones. What I would expect is 2
things.
firstly the templates define the static initial structure of the report
header, footer etc- this you can do currently with the template report.
secondly new dynamic items that could be added to the report eg a table
added to the body would have my predefined attributes, eg. a specific colour,
font, padding etc.
so where are the initial predfied values stored, and can these be changed?
Ian |
 |
| |
Blank RDL Template - Alain Quesnel |
09-May-08 09:07:11
|
I'm not sure how you could achieve storing those default values in the RDL.
Perhaps there is a concept like ParentFont or ParentColor in the rdl.
One workaround would be to define one table in your template with the proper
font, etc. If you add a second table, just copy and paste from the first
one.
Alain Quesnel
alainsansspam@logiquel.com
www.logiquel.com |
 |
| |