I'm curious as to why some questions posted here get results and solutions,
while others are answered in a seemingly foreign language and I can't begin to
comprehend or understand the answers that are given. Is there a place to learn
this foreign language to be able to better communicate questions, as to derive
the solution that the poster is attempting to receive? If so, where please?
I have a program that I'm trying to track animal genetic upline, example:
AnimalID is the Animal Name, there in the same table is Sire (father) and Dam
(mother).My problem is I can get the Sire and Dam for the initial animal, but I
can't get the additional Dam's and Sire's for the initial father and mother. Is
it a query that I'm looking to use or code to successfully accomplish this
goal?
Thank you,
Michael 13 1398
I think that the answer to your particular question is closely related
to the first (venting) part.
There is no way one can suggest a working solution to a question like
you asked without knowing how your database is set up. We need to be
able to read table names you use and field names you have, and know whet
primary keys are, and what related tables there are. This enables us to
follow the logic of the database and figure out how to get the
additional Dam's and Sire's for the initial father and mother.
Please remember - we have no information about your database and,
therefore, can not provide advice until we see this information.
Best regards,
Pavel
Lumpierbritches wrote: I'm curious as to why some questions posted here get results and solutions, while others are answered in a seemingly foreign language and I can't begin to comprehend or understand the answers that are given. Is there a place to learn this foreign language to be able to better communicate questions, as to derive the solution that the poster is attempting to receive? If so, where please?
I have a program that I'm trying to track animal genetic upline, example:
AnimalID is the Animal Name, there in the same table is Sire (father) and Dam (mother).My problem is I can get the Sire and Dam for the initial animal, but I can't get the additional Dam's and Sire's for the initial father and mother. Is it a query that I'm looking to use or code to successfully accomplish this goal?
Thank you,
Michael
Lumpierbritches wrote: I'm curious as to why some questions posted here get results and solutions, while others are answered in a seemingly foreign language and I can't begin to comprehend or understand the answers that are given. Is there a place to learn this foreign language to be able to better communicate questions, as to derive the solution that the poster is attempting to receive? If so, where please?
I have a program that I'm trying to track animal genetic upline, example:
AnimalID is the Animal Name, there in the same table is Sire (father) and Dam (mother).My problem is I can get the Sire and Dam for the initial animal, but I can't get the additional Dam's and Sire's for the initial father and mother. Is it a query that I'm looking to use or code to successfully accomplish this goal?
Thank you,
Michael
I may have replied in the past to you and mentioned you should go to
google and look around there. Goto http://groups.google.com and select
AdvancedSearch. In the Words To Search enter
Geneology
and for the groups to search enter
*access*
Anyway, here is just ONE response from the google search. There are 84
threads on just the word Geneology to review. Then start looking for
Dam and Sire and it should have even more results.
Google article:
The human relationships that you want to trace will define
the data structure you need.
For a simple example, see:
Self Joins: tables that look themselves up (Pedigrees example)
at: http://odyssey.apana.org.au/~abrowne/ser-06.html
That article handles biological parents only, not step parents.
For those, you would need a lookup table that defines the
relationship types, and a link table between 2 copies of your
Person database that links the 2 people by a defined relationship
type.
For more complex tree tracing, see Joe Celko's article:
A Look at SQL Trees at: http://www.dbmsmag.com/9603d06.html
The .au link I couldn't get to come up to see the relationship for Geneology.
Michael
Pavel, Thank you;
Table Name: tblAnimals
fields: AnimalID - Primary Key 100 characters, usually name of animal and
registration.
Sire - name of father of this animal
Dam - name of mother of this animal
Sire1a - name of father of Sire 1
Dam1a - name of the mother of the Sire 1
Sire1b - name of Sire for Dam 1
Dam1b - name of Dam for Dam 1
Sire 2a - name of Sire of Sire 1a
Dam2a - name of Dam of Sire 1a
Sire2b - name of Sire of Sire 1b
Dam2b - name of Dam of Sire 1b
etc etc, all the way through five generations. All form fields are named, but
unbound.
If you've been learning Access by "just picking it up", then raw SQL,
VBA code, and database theory (normalization, keys, relations) can
absolutely seem like a foreign language.
The Google Groups archives are chock full of recommendations for
tutorial and reference books for people with all sorts of backgrounds.
I *guarantee* you that a decent book will more than pay for itself.
Also: learn to use the Google Groups archives if you haven't already.
They're a treasure trove of information.
Access is so user-friendly that just about anyone who's not afraid to
turn on a computer can learn to use it. Learning to use it *well*,
however, takes an investment of time. Invest that time to study it
more formally, and, IMHO, you'll be thankful that you did.
Good luck!
-Matt
On 14 Apr 2004 21:42:56 GMT, lu************* @aol.com (Lumpierbritche s)
wrote: I'm curious as to why some questions posted here get results and solutions, while others are answered in a seemingly foreign language and I can't begin to comprehend or understand the answers that are given. Is there a place to learn this foreign language to be able to better communicate questions, as to derive the solution that the poster is attempting to receive?
Lumpierbritches wrote: The .au link I couldn't get to come up to see the relationship for Geneology.
Michael
Did you just stop at the two links I listed or did you go to google as I
recommended?
With this information it is much easier to suggest a solution.
The database is not normalized properly. This means that information is
not stored in a way that makes it easy to find and retrieve the
information. It may let you enter parents names incorrectly, and it will
not let you store additional information for parents at all.
This design also limits your ability to go back in the tree any deeper
than the number of fields for parents you have put in the table (you
shose 5 levels, but it doesn't have to be).
The solution is simple. Change the table to contain only these columns:
tblAnimals
----------
AnimalID (Autonumber)
AnimalName (Text)
SireID (FK, Number)
DamID (FK, Number)
isFemale (Yes/No)
Picture (Hyperlink)
Other ...
Sire and Dam are AnimalIDs of the parents stored in the same table. In a
table like this you can build a tree as deep as you want.
You can base the form on a query, which you build in query designer. You
will need to link tblAnimals to itself twice - tblAnimals_1 you link
SirID to AnimalID, tblAnimals_2 you link DamID to AnimalID. You can now
set up your form so that Sir and Dam are chosen from drop lists, as
opposed to typing them in, and you can set up a standard form where you
enter animal information. This will let you reduce data entry in cases
when you have the same parents for different animals.
Hope this helps,
Pavel
Lumpierbritches wrote: Pavel, Thank you;
Table Name: tblAnimals fields: AnimalID - Primary Key 100 characters, usually name of animal and registration.
Sire - name of father of this animal Dam - name of mother of this animal
Sire1a - name of father of Sire 1 Dam1a - name of the mother of the Sire 1
Sire1b - name of Sire for Dam 1 Dam1b - name of Dam for Dam 1
Sire 2a - name of Sire of Sire 1a Dam2a - name of Dam of Sire 1a
Sire2b - name of Sire of Sire 1b Dam2b - name of Dam of Sire 1b
etc etc, all the way through five generations. All form fields are named, but unbound.
>> For more complex tree tracing, see Joe Celko's article: .. <<
Actually, I would rather that you buy my new book on Amazon.com on
trees & Hierarchies in SQL, so I can get royalities :) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Conax |
last post by:
Hi there,
My boss is hoping that I can come up with a page that displays some
information. The information will always be displayed on specific part of
the page, with auto refresh. But he doesn't want the whole page to be
refreshed so that buttons and images around the information do not get
reloaded each time. Is this really possible?
Other pages on this site don't use frames, so this page can't use frams too.
Creating an ActiveX...
|
by: Lumpierbritches |
last post by:
I'm curious as to why some questions posted here get results and solutions,
while others are answered in a seemingly foreign language and I can't begin to
comprehend or understand the answers that are given. Is there a place to learn
this foreign language to be able to better communicate questions, as to derive
the solution that the poster is attempting to receive? If so, where please?
I have a program that I'm trying to track animal...
|
by: Tim |
last post by:
Dear Developers,
Firstly, I'm not sure where this post should go so I apologise if this
is in the wrong group or area. I'm currently interviewing for a vb.net
developer who doesn't mind prototyping the client requirements using
MS Access. We've not had much luck in finding many suitable people
through agencies and those that I have interviewed are not scoring
very high on my little test which is the reason for my post.
Please have a...
|
by: Richard |
last post by:
In normal asp i used
---------
objRS.Open "tbl_Nieuws", objConn, 1, 3
objRS.AddNew
objRS.Fields("N_Datum") = FormatDateTime(Now(),2)
objRS.Fields("N_Title") = ReplaceHTML(Upload.Form("title"))
objRS.Fields("N_Intro") = ReplaceHTML(Upload.Form("intro"))
objRS.Fields("N_Body") = ReplaceHTML(Upload.Form("body"))
|
by: wickwire |
last post by:
I have created a class and used it to further overload ostream:
class drum
{
...
friend ostream& operator<< ( ostream&, drum const& );
}
ostream& operator<< ( ostream& out, drum const& od )
{
| |
by: sterling.mckay |
last post by:
Just started to teach myself C C++ programming... I have been very
interested with computers for a while now and have a nac or so I
thought for how they work ... hardware I am ok with ... I can
understand and tear it down and rebuild it ... chips boards I/O etc
etc ... programing is a different beast ...
So I am fooling around with C and compile a small .exe file with
Miracle C ... simple thing that said Hi my name is etc etc ... but I...
|
by: kwikius |
last post by:
As I understand it posts to comp.std.c++ shouldnt contain personal
attacks.
Since several of my posts on this to comp.std.c++ on this subject have
now been simply ignored with out any reply by the comp.std.c++
moderators I'll repost it here for the record:
And Fuck you too ... V
|
by: Sam of California |
last post by:
Is it accurate to say that "the preprocessor is just a pass in the parsing
of the source file"?
I responded to that comment by saying that the preprocessor is not just a
pass. It processes statements that the compiler does not process. The good
people in the alt.comp.lang.learn.c-c++ newsgroup insist that the
preprocessor is just one of many passes. The preprocessor processes a
grammer unique to the preprocessor and only that grammer.
...
|
by: Killer42 |
last post by:
Argh!
Just got back to an old VB6 (at home) project I put on the back burner months ago. Among other things, it does a bit of image comparison, which appeared to be taking a ridiculously long time - like at least 5-10 seconds per image. I figured I just had some inefficient code there, it shouldn't take that long.
Well, I finally had a chance to dust off the source code and started logging some debugging messages at various points. It...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |