Limiting Report Data Source
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
GenoPro Support Forum
Home        Members    Who's On
Welcome Guest ( Login | Register )
        



Limiting Report Data Source Expand / Collapse
Author
Message
Post #6744 Posted 5/5/2005 7:08:40 PM


Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum 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
Post #6745 Posted 8/18/2005 6:49:09 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

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


Post #6746 Posted 8/18/2005 6:49:09 PM


Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum 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
Post #6747 Posted 8/18/2005 6:49:09 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

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.


Post #6748 Posted 8/18/2005 6:49:09 PM


Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the GenoPro community This user is an important contributor to the translation of GenoPro 

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.
Post #6749 Posted 8/18/2005 6:49:09 PM


Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum 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
Post #6750 Posted 8/18/2005 6:49:09 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

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.


« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: GenoProSupport, JcMorin, Ron

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 2:37 PM

Copyright 1998-2008 GenoPro. All rights reserved. GenoPro and the GenoPro logo are trademarks.