GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Limiting Report Data Source

Click to view RSS...
Author Limiting Report Data Source
rdn
Posted Thursday, May 5, 2005 - Post #6744
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
GenoPro version: 2.5.4.1

Last Login: Friday, October 18, 2013
Posts: 142, Visits: 3,822
Is there a way to select only a single GenoMap to be generated?

Danny
Posted Thursday, August 18, 2005 - Post #6745
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Tuesday, October 28, 2025
Posts: 4,886, Visits: 22,799
This will be part of the privacy filter.

In the meantime, you can add the following code in file Init.htm.
strGenoMapToKeep = "GenoMap1"
For Each i In Individuals
If (i.GenoMap <> strGenoMapToKeep) Then
i.href = ""
End If
Next

In the page Individual.htm, you need the following code:
<%[
strName = i.name
If (strName = "" OR i.Href = "") Then
Report.AbortPage
End If
]%>

Finally, in the file toc_individuals.htm, you need to exclude any individual having an empty Href.
For Each i In collectionIndividuals
' Keep only the individuals having a name AND a valid Href
strName = i.name
If (strName <> "" AND i.Href <> "") Then
strNameLast = i.name.last

' Code to write the hyperlinks

End If
Next
rdn
Posted Thursday, August 18, 2005 - Post #6746
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
GenoPro version: 2.5.4.1

Last Login: Friday, October 18, 2013
Posts: 142, Visits: 3,822
Dan,

Thank you for the quick and thorough response. This obviously works, however, I still recommend to be able to use only a single GenoMap through the Generate Report dialog - in the Report Generator Tab, by selecting Report Data Source - and there specifying only a specific map (or as is now, a whole document).

Danny


Danny
Posted Thursday, August 18, 2005 - Post #6747
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Tuesday, October 28, 2025
Posts: 4,886, Visits: 22,799
... I still recommend to be able to use only a single GenoMap through the Generate Report dialog

Good suggestion. I was thinking of having a list of checkboxes for all the GenoMaps to include in the report, however I think your suggestion is better. Do you think someone would want to generate a report a specific group of GenoMaps? If this is the case, the privacy filter could handle this.
Posted Thursday, August 18, 2005 - Post #6748
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
Important Contributors
Translator
GenoPro version: 3.1.0.1

Last Login: Friday, November 25, 2022
Posts: 334, Visits: 7,574
I still recommend to be able to use only a single GenoMap through the Generate Report dialog - in the Report Generator Tab, by selecting Report Data Source - and there specifying only a specific map (or as is now, a whole document).

I agree.
The new GenoMaps method enable the users to part their family tree into little segments. It is especially true if you want to print the family tree, when it is a large one. So, if it is good for printing, it must be good for the Report Generator.
rdn
Posted Thursday, August 18, 2005 - Post #6749
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Customers
GenoPro version: 2.5.4.1

Last Login: Friday, October 18, 2013
Posts: 142, Visits: 3,822
Dan Wrote:
Do you think someone would want to generate a report a specific group of GenoMaps? If this is the case, the privacy filter could handle this.


For multiple GenoMaps and more sophisticated management of the reports, I agree that a privacy filter or coding would work. However, GenoPro should definitely have an assortment of drop-down list boxes, check boxes, etc., for the general user. In this case, I stand by my initial idea of having it as part of the Generate Report dialog.

Generally speaking, I think we should all remember that most of the users will not be able to program, and that GenoPro should be as user-friendly to the end-user as possible, while at the same time giving tremendous capability to the more tech-oriented people.


Danny
Posted Thursday, August 18, 2005 - Post #6750
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Tuesday, October 28, 2025
Posts: 4,886, Visits: 22,799
...I think we should all remember that most of the users will not be able to program, and that GenoPro should be as user-friendly to the end-user as possible, while at the same time giving tremendous capability to the more tech-oriented people.

I agree 100% with you. I have a loving passion for programming, however I understand not everyone wants to write code like I do. My goal is to offer as many features as possible "out of the box" so they are available within a few mouse clicks.


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse