|
|
|
Forum Guru
      
Group: Customers
Last Login: Today @ 11:57:06 AM
GenoPro Version: 2.0.1.5
Posts: 140,
Visits: 1,953
|
|
Is there a way to select only a single GenoMap to be generated?
Danny
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Today @ 9:21:17 AM
GenoPro Version: 2.4.0.3
Posts: 3,523,
Visits: 14,875
|
|
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 |
|
|
|
|
|
Forum Guru
      
Group: Customers
Last Login: Today @ 11:57:06 AM
GenoPro Version: 2.0.1.5
Posts: 140,
Visits: 1,953
|
|
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
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Today @ 9:21:17 AM
GenoPro Version: 2.4.0.3
Posts: 3,523,
Visits: 14,875
|
|
... 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.
|
|
|
|
|
Forum Master
      
Group: Customers
Last Login: 11/26/2008 2:09:50 AM
GenoPro Version: 2.0.1.6
Posts: 552,
Visits: 7,294
|
|
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.
|
|
|
|
|
Forum Guru
      
Group: Customers
Last Login: Today @ 11:57:06 AM
GenoPro Version: 2.0.1.5
Posts: 140,
Visits: 1,953
|
|
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
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Today @ 9:21:17 AM
GenoPro Version: 2.4.0.3
Posts: 3,523,
Visits: 14,875
|
|
...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.
|
|
|
|