ReportSharpShooter filling in forms - working with templates


Author
Message
Charles R Hankey
Charles R Hankey
StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)
Group: Forum Members
Posts: 524, Visits: 30K
I need to fill in fields in Word doc templates to be printed/pdf with ReportSharpshooter. I'm trying to get a handle on it conceptually - at what part of the process does the insert happen? Do I first desiign a RSS report with an RTF field and data fields as inserted into the RTF? How do you handle places where there might be multiple lines of data (this is insurance policies and at some points there will be lists of things appearing on the policy)



Is there a particular place in the docs or samples I should be looking? Anyone have a RSS report as a sample I could look at?



Thanks



Charles





Any guidance to get me started will probably save me a lot of time and will be greatly appreciated. I am still somewhat of a novice with RSS.

Reply
Charles R Hankey
Charles R Hankey
StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)
Group: Forum Members
Posts: 524, Visits: 30K
Trent -



Thanks very much for the thoughtful reply. I will study this.



My first thought was to store the RTF of the Word doc as data, do all of my substitutions replacing delimited markers in that data field, and then use the data field as a source for an advanced text control i.e. RSS would see the prechewed result as the RTF info to go in the report



I do not plan to give the users any modification options for the report, other than they are producing the policy data that determines what gets filled in. the Template could be modified if the wording changed, but the number and naming of the fields to be substituted would be fixed.



Is this what you mean by RegExing out the placeholders or are you talking about a script that runs withing RSS?



I had thought about creating the basic RSS report as Header/style info ( company logos, perhaps some unchanged boilerplate etc ) and then a body that was one big Advanced Textbox ( which would receive the RTF as data that already had the substitutions done)



Am I close here or do you see a problem with that ( again, apologies as I am at the beginning stages of my RSS learning curve and so I may be mumbling gibberish on this Smile )



I'm basically thinking of this as if I were doing a VFP textmerge on the memo field and then feeding the memofield to a report - but with RTF instead of plain text







GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search