trichview.com Forum Index trichview.com
TRichView support forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Tutorial showing how predefine document layouts

 
Post new topic   Reply to topic    trichview.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
agent86



Joined: 28 Jun 2010
Posts: 16
Location: San Francisco Bay Area, USA

PostPosted: Thu Jul 15, 2010 1:08 am    Post subject: Tutorial showing how predefine document layouts Reply with quote

I want to design "canned" reports that can be used over and over again.

I want a master document that is broken up into 4-6 quadrants, 2 across, 2-3 down. There will be letterhead at the top of the page

The content for each quadrants will come from the dbrichviews and pictures. The client will enter the data in the individual dbrichviews on a seperate entry screen, not into the master report. They will also have pictures and charts that will be displayed in the quadrants. I would imagine that the text will be filling the left quadrants, the pictures and charts on the right quadrants. I want to store the report template definitions so a client can seect them in a dropdown. There is a foreign key that ties all the dbrichviews together on the master report.

Because I have predefined which dbrichview goes where, I can reuse the report template. I then will click a button that tells the program to move the text from the dbrichviews to the master document.

Are there demos or tutorials that can get me pointed in the right direction with this. I hope I was clear on what I am trying to accomplish.
Back to top
View user's profile Send private message Visit poster's website
Sergey Tkachenko
Site Admin


Joined: 27 Aug 2005
Posts: 6599

PostPosted: Thu Jul 15, 2010 10:14 am    Post subject: Reply with quote

May be you can create a template as a document containing table (TRVTableItemInfo), and data will be placed in table cells?
Back to top
View user's profile Send private message Visit poster's website
agent86



Joined: 28 Jun 2010
Posts: 16
Location: San Francisco Bay Area, USA

PostPosted: Thu Jul 15, 2010 3:24 pm    Post subject: That just might work! Reply with quote

I didn't think of that! I'll give it a try.

Thanks...
Back to top
View user's profile Send private message Visit poster's website
agent86



Joined: 28 Jun 2010
Posts: 16
Location: San Francisco Bay Area, USA

PostPosted: Thu Jul 15, 2010 3:27 pm    Post subject: Table cells expandable? Reply with quote

If the text entered into the cell exceeds the number of rows in the cell, will it automatically expand to display the content without scolling that cell. It would be OK if the cell expanded to the next page. I won't know how much text will be in the cell. Some may contain a few sentences, others might be multiple paragraphs.
Back to top
View user's profile Send private message Visit poster's website
Sergey Tkachenko
Site Admin


Joined: 27 Aug 2005
Posts: 6599

PostPosted: Thu Jul 15, 2010 4:04 pm    Post subject: Reply with quote

Yes, this is the default behavior - the cell has enough width and height to show its content.
About the specific implementation: see the demo in Assorted\Fields\MailMerge2\. It does almost what you need: a template with fields, field content is a document stored in db.
See the image:
http://www.trichview.com/shots/demos/mailmerge.gif
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    trichview.com Forum Index -> Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group