This topic is locked

Can I copy the structure of a report?

8/4/2008 7:25:36 AM
PHPRunner General questions
T
thesofa author

Hi

I have spent a bit of time getting a report looking right for how the clients want it.

This report id for only one aspect of the child's behavior, there are 2 or 3 other aspects to report on with the data coming from similar tables, is there an easy way of cpoying the structure and doing a search and replace for the table and field names?

It wuill save me hours of mucking about.

Or can I save a report as a template for other reports?

J
Jane 8/4/2008

Hi,
unfortunately no.

As workaround you can open and edit C:/Program Files/PHPRunner4.2/templates/layouts/<selected layout>/report.htm file manually.

S
steveh 8/4/2008

You can edit the phpr file and do it that way.

You'll need to figure out what bits do what and the easiest way to do this is to save a copy as a new phpr, delete your report, then compare, then add a new report then compare again, you should then be abel to see what you need to drop in where.

T
thesofa author 8/4/2008
S
steveh 8/5/2008

Think I've misled you here! - Sorry.
I've just needed to do something similar and it looks as though the visual edits are stored directly to the htm file, so you'd need to copy the htm, make entries for the custom and the crc in the phpr then go from there (if you compare the phpr files you'll see what I mean).

T
thesofa author 8/5/2008

<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=31826&image=1&table=forumreplies' class='bbc_emoticon' alt=':o' />

Oh well, I will try another route around this