www.Inmagic.com    Inmagic Forums    Inmagic Forums  Hop To Forum Categories  DB/Textworks    reports
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Posted
We have several large text fields in our textbase, in some cases when we print there can be over a hundred pages.
My question:
Is there a script or report that we can create so when we run as search and a hit is identfeild in one of these large fields, can we print only the name searched or company. In other words can DB/Text filter thru a hundred pages and have single name or several names print instead of all hundred pages.
 
Posts: 11 | Registered: Wed November 10 2004Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
This is a completely blue-sky answer, because I don't know of an actual solution, but you might be able to use a regular expression in the report's onRecordOpen() event to scan the text field(s) for your search term(s), displaying only the match(es) in the report, which you could then print.

You would need to store and retrieve the search term(s), convert it/them into a javascript RegExp match expression, and apply that against the form box contents of the relevant fields in your report.

Not sure if it would work, and definitely not sure how performant it would be, but that's what I would try.


Peter Tyrrell, MLIS
Senior Consultant
Andornot Consulting Inc.
http://www.andornot.com/about/developerblog
 
Posts: 179 | Location: Vancouver, BC, Canada | Registered: Thu September 20 2001Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Ok - I will give it a try.
I don't know to much about javascript or VB.
Hey, but one can learn.

Thank you so much for your help.
 
Posts: 11 | Registered: Wed November 10 2004Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

www.Inmagic.com    Inmagic Forums    Inmagic Forums  Hop To Forum Categories  DB/Textworks    reports