GenoPro Home
|
Get Started With My Genealogy Tree
|
Buy
|
Login
|
Privacy
|
Search
|
Site Map
GenoPro Support Forum
Home
Search
Tags
Who's On
Welcome Guest
(
Login
|
Register
)
Recent Posts
Popular Topics
Home
»
GenoPro
»
Report Generator
»
URLs in Reports
URLs in Reports
Rate Topic
Topic View
Topic Options
Author
for URL in GenoPro reports.
BobWebster
Posted Thursday, January 31, 2008
-
Post #20653
Junior Member
Customers
GenoPro version: 2.0.1.4
Last Login: Saturday, September 21, 2019
Posts: 16,
Visits: 89
I was happy to learn
about
the <?html?> tag that can be used in
reports
. But it's a little hard for me to use for URLs. By the time I type the
address
twice, add quotes, etc. for a url (<a href="http://GenoPro.com">GenoPro.com</a>
, I am liable to have some
errors
. And then, in order to test it, I have to
generate a report
, go to a browser, and try to remember who all those people are I added URLs to.
So I added the <?url processing instruction. You can add this case to "Select Case LCase(strParams(0))" in the function StrFormatText(obj, strText) in Util.vbs.
------------------
Case "url"
if ubound(strParams) >= 1 and lcase(strMode) = "<?text?>" then
strTemp = strParams(1)
if instr(strTemp, "://") = 0 then strTemp = "http://" & strTemp
strResult = strResult & "<a target=""_top"" href=""" & strTemp & """>" & strParams(1) & "</a>" &
Util.HtmlEncode
(strSubParts(1))
else
Report.LogError
Util.FormatString
(Dic("ErrorTextFormat"), obj, strSubParts(0))
end if
------------------
Now I can just type
<?url GenoPro.com?>
in a note, instead of
<?html?><a href="http://GenoPro.com">GenoPro.com</a><?text?>
Edited:
Thursday, January 31, 2008 by
BobWebster
Threaded View
Threaded View
URLs in Reports
By
BobWebster
(
Thursday, January 31, 2008
)
I noticed that in an html report, when I click on a link that was...
By
BobWebster
(
Thursday, January 31, 2008
)
Thanks again for this one Bob. Following your post I checked back on...
By
genome
(
Sunday, February 3, 2008
)
Thanks for that contribution Bob, a good idea. I'll add it to the...
By
genome
(
Thursday, January 31, 2008
)
I think either a target of _blank or _top would be fine. I prefer...
By
BobWebster
(
Thursday, January 31, 2008
)
Similar Topics
Reading This Topic
Powered By InstantForum.NET 2010-3-x © 2025
Execution: 0.016.
3 queries.
Compression Enabled.
Search All Forums...
GO
Advanced Search
Rate Topic
Great
Good
Average
Bad
Poor
Rate This Topic
Flat Ascending
Flat Descending
Threaded
Subscribe To Topic
Print This Topic
Goto Topics Forum