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 Help and Technical Support
»
Using GenoPro - How to...
»
JScript help with 'collections'
JScript help with 'collections'
Rate Topic
Topic View
Topic Options
Author
Is it possible to access these fields, one by one, in order to process them in a loop
jcguasp
Posted Tuesday, April 15, 2008
-
Post #21375
Famous Writer
Important Contributors
FamilyTrees.GenoPro.com
Customers
Translator
GenoPro version: 2.0.1.6
Last Login: Tuesday, December 16, 2008
Posts: 390,
Visits: 1,271
This post is, I suppose, directed to Ron because JScript
programming
related.
I'm trying to create a utility (similar to 'Display all Comments') regarding display of 'all Multi-
Language
Fields'.
If I was a 'JScript' guru, it would surely be done by now but I'm not. I also read some WWW Ref sites
articles
but I couln't found any clear explanations of what I would like to achieve.
For
info
, I used to be fully conversant for manipulating fields associated with 'relational databases' such as Foxpro. Having said that, I don't master at all your '
Collections
' even after reading you various SDK help articles.
What I'm trying to do is to access some fields names (and values) in your various collections.
Say each Ind record in the Ind collection has many fields: name.first,
birth
.date, birth.
place
, ...
Question: Is it possible to access these fields, one by one, in order to process them in a
loop
, e.g.
field(1).name = name.first ; field(1).value = "Jean-Claude" ; field(1).type = string/text (say the 1st field in an Ind record)
field(2).name = birth.date ; field(2).value = "7 Mar 1950" ; field(2).type = date
field(3).name = birth.place ; field(3).value = "Paris" ; field(3).type = string/text
... and so on, till the field().count (the last field in that Ind record).
You'll probably have to substitute the words 'record' and 'field' to suit your 'collection' language, i.e. keys and whatever.
The above is perhaps a bit simplistic but I really would like to know if it is achievable! At the moment I cannot 'visualize' the structure of a collection, compared to a database with clear records (rows) and fields (columns).
Thank you.
JC
Edited:
Tuesday, April 15, 2008 by
GenoProSupport
Threaded View
Threaded View
JScript help with 'collections'
By
jcguasp
(
Tuesday, April 15, 2008
)
I finally didn't give up because I don't like unfinished business. I...
By
jcguasp
(
Monday, April 21, 2008
)
[quote][b]jcguasp (4/21/2008)[/b][hr]I finally didn't give up because...
By
genome
(
Friday, April 25, 2008
)
[quote]2) The 'ID' tag of the Emotional Relationships, Social...
By
jcmorin
(
Monday, April 21, 2008
)
Thank you all but I gave up. As I said, I cannot properly 'visualize'...
By
jcguasp
(
Wednesday, April 16, 2008
)
My understanding of your question is: "Can you enumerate all the...
By
jcmorin
(
Tuesday, April 15, 2008
)
The only way to get all the fields is to extract the XML and parse the...
By
GenoProSupport
(
Tuesday, April 15, 2008
)
If you just want to obtain the values from a predefined list of fields...
By
genome
(
Wednesday, April 16, 2008
)
Ron is a very smart man.
By
GenoProSupport
(
Wednesday, April 16, 2008
)
Similar Topics
Topics
Last Post
By 35742
RE: Using the General Properties
Wednesday, June 24, 2020
Last Post:
35742
By 35742
RE: Report generator error 800A01B0
Thursday, May 22, 2014
Last Post:
35742
By 35742
RE: Report generator error 800A01B0
Wednesday, May 21, 2014
Last Post:
35742
By 35742
RE: Report generator error 800A01B0
Wednesday, May 21, 2014
Last Post:
35742
Reading This Topic
Active: 1 - 1 guest, 0 members, 0 anonymous.
No members currently viewing this topic!
Powered By InstantForum.NET 2010-3-x © 2025
Execution: 0.001.
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