473,416 Members | 1,506 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,416 software developers and data experts.

Keeping track of jointly owned assets

I hope there is an easy way to do this...

I'm doing a database which keeps track of things that people or
entities (entities = trusts and companies) own, among other things.

When assets are owned by individuals, its easy. I have a table listing
the various assets, a table listing the various people and entities and
a third table with the IDs of the people/entities and the IDs of the
assets they own.

But I'm not sure how to go about recording an asset which is jointly
owned or owned tenants in common.

I have a column of percentage ownership, its easy to put two
individuals down as owning an asset in 50% shares. A listing of the
assets owned by the group will then show the asset twice with 50%
shares, I was wondering how I might be able to structure the query so
instead of getting e.g.

"$100,000 property at 2 Sesame Street" 50% owned by Ernie as joint
tenants
$100,000 property at 2 Sesame Street" 50% owned by Bert as joint
tenants
Total assets: $100,000"

I would instead get:

"$100,000 property at 2 Sesame Street" 50/50% owned by Ernie and Bert
as joint tenants
Total assets: $100,000"

Thanks...

Travis

Dec 5 '05 #1
6 1358
On 5 Dec 2005 08:36:56 -0800, tr**********@yahoo.com wrote:

Sounds like a classic many-to-many situation, so you'll have to
redesign your tables.
tblPersons
PersonID (PK)
PersonName

tblAssets
AssetID (PK)
AssetName
AssetValue

tblOwnership
PersonID (PK)
AssetID (PK)
PercentOwnership

-Tom.

I hope there is an easy way to do this...

I'm doing a database which keeps track of things that people or
entities (entities = trusts and companies) own, among other things.

When assets are owned by individuals, its easy. I have a table listing
the various assets, a table listing the various people and entities and
a third table with the IDs of the people/entities and the IDs of the
assets they own.

But I'm not sure how to go about recording an asset which is jointly
owned or owned tenants in common.

I have a column of percentage ownership, its easy to put two
individuals down as owning an asset in 50% shares. A listing of the
assets owned by the group will then show the asset twice with 50%
shares, I was wondering how I might be able to structure the query so
instead of getting e.g.

"$100,000 property at 2 Sesame Street" 50% owned by Ernie as joint
tenants
$100,000 property at 2 Sesame Street" 50% owned by Bert as joint
tenants
Total assets: $100,000"

I would instead get:

"$100,000 property at 2 Sesame Street" 50/50% owned by Ernie and Bert
as joint tenants
Total assets: $100,000"

Thanks...

Travis


Dec 5 '05 #2
Hi Tom,

My tables are in fact already set out in the manner which you describe.
I'm just not sure how to get access to report ownership as "joint
ownership" rather than reporting it twice with two 50% owners.

Its a query thing...

Travis

Dec 6 '05 #3
On 5 Dec 2005 18:19:26 -0800, tr**********@yahoo.com wrote:

OK, you wanted:
"$100,000 property at 2 Sesame Street" 50/50% owned by Ernie and Bert
as joint tenants
Total assets: $100,000"
If you literally want this output from a query, that's rather tricky
because of the concatenation of the two (or N) Ownership records. I
would probably do that using a custom function. The query might look
like this:
select AssetValue, AssetAddress, OwnersConcat(AssetID) from tblAssets

The OwnersConcat function:
public function OwnersConcat(byval lngAssetID as Long) as String
dim db as dao.database
dim rs as dao.recordset
dim sql as string
dim strResult as string
set db=currentdb()
'sql to get the list of owners for this AssetID
sql="select PersonName, PercentOwnership from tblAssets inner join
tblOwnership on tblAssets.AssetID = tblOwnership.AssetID where
tblAssets.AssetID=" & lngAssetID
set rs = db.openrecordset(sql, dbOpenSnapshot, dbForwardOnly)
'Alternatively use a stored parameter query.
while not rs.eof
strResult = strResult & rs!PersonName & " (" & rs!PercentOwnership &
"%), "
rs.MoveNext
wend
rs.close
set rs=nothing
set db=nothing
strResult=left$(strResult, len(strResult)-2) 'strip trailing ", "
OwnersConcat = strResult
end function

-Tom.
Hi Tom,

My tables are in fact already set out in the manner which you describe.
I'm just not sure how to get access to report ownership as "joint
ownership" rather than reporting it twice with two 50% owners.

Its a query thing...

Travis


Dec 6 '05 #4

Tom van Stiphout wrote:
On 5 Dec 2005 18:19:26 -0800, tr**********@yahoo.com wrote:

OK, you wanted:
"$100,000 property at 2 Sesame Street" 50/50% owned by Ernie and Bert
as joint tenants
Total assets: $100,000"
If you literally want this output from a query, that's rather tricky
because of the concatenation of the two (or N) Ownership records. I
would probably do that using a custom function. The query might look
like this:


Thanks for your help. The output I want will actually be like this:

Family Group: Jack and Jill Smith : the name I have given the
group, could also be "The Smith Family"

The Smith Family consists of Jack, Jill, the Hill Water Company Pty Ltd
and the Smith Family Trust.

Jack owns a Toyota worth $10,000, Jill has a Ford worth $12,000. They
own a house together, worth $200,000, their family trust owns a factory
worth $1,000,000 and their business (The Hill Water Company Pty Ltd)
owns $50,000 worth of equipment for drilling wells.
I want to create a table which summarises their assets as follows:

<asset> <value> <owner>
Car (Toyota) $10,000 Jack
Car (Ford) $12,000 Jill
House $200,000 Jack and Jill as 50/50% joint tenants
Factory $1,000,000 Smith Family Trust
Well drilling equipment $50,000 The Hill Water Company Pty Ltd

In other words, a listing of all assets owned by all people in the
group. If it is 100% owned by a single person or entity, just name the
person or entity as owner. If it is owned in some other percentage by
two named entities, state <EntityID> "and" <other EntityID> "as"
<percent owned by entity> "/" <percent owned by other entity> <joint
tenants or tenants in common>.

Travis

Dec 6 '05 #5
And I'll add that sometimes assets are owned fractionally but the rest
is owned by someone I'm not interested in. e.g. 30% share in a farm,
the other 70% is owned by somebody else.

So in that case...

Farm $1,000,000 Jill 30%

Net worth = $300,000

Travis

Dec 6 '05 #6
Travis, if you were to use a structure like the one we were discussing
before, like the relationships diagram in this page:
http://allenbrowne.com/AppHuman.html
you could add a Percentage field to tblGroupClient to indicate that a client
has an xx% share of the group's assets.

You also add an Asset table, with a ClientID (foreign key to
tblClient.ClientID). In this structure, a "client" can be an individual
(person) or a corporate entity (trust, partnership, ...), so it is *dead*
simple to enter assets that are owned by persons or corporate entities all
in the one Asset table.

You can then query the assets of the individual client, and UNION that with
the assets of any corporate client that the individual client is a member
of, to get a listing of the individual's immediate and derived assets.

The UNION query could then become the RecordSource for report you are asking
for. Your original request in this thread was for a shared and deduplicated
list, so the report would group by AssetID, and you would need a function
call to generate the string that contatenates the individuals who share-own
the asset into a single string. This kind of thing:
Return a concatenated list of sub-record values
at:
http://www.mvps.org/access/modules/mdl0004.htm

HTH

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
<tr**********@yahoo.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
And I'll add that sometimes assets are owned fractionally but the rest
is owned by someone I'm not interested in. e.g. 30% share in a farm,
the other 70% is owned by somebody else.

So in that case...

Farm $1,000,000 Jill 30%

Net worth = $300,000

Travis

Dec 6 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Sandman | last post by:
Just looking for suggestion on how to do this in my Web application. The goal is to keep track of what a user has and hasn't read and present him or her with new material I am currently doing...
0
by: godwin | last post by:
hi, I am looking for a Sr.SAP with good knowledge in Fixed Assets / SME. if suitable kindly mail me your resume and rates. Email your resume to : carmelc@gmail.com. REQUIREMENT: Sr. SAP...
1
by: Joshua Russell | last post by:
I'm writing some software that opens multiple instances of a single class in new threads. I need a way of keeping track of all these class instances in some kind of collection. I'm basicaly writing...
9
by: Alfred Taylor | last post by:
I'm testing the waters of n-tier development and I ran into a scenario that I'm not sure what the best solution would be. I have a Company object which contains a collection of contacts retrieved...
0
by: Utter Newbie | last post by:
I know we have access to log files and web statistics can be pulled from those. But the guy who wants it built was thinking we should keep track of every time a page is hit seperately in MS sql...
1
by: RC | last post by:
I wrote a Web app and someone else now wants a copy of it (and run it on the same server)... and eventually others may want copies as well. Rather than copying all of the gif/assets to each app's...
2
by: metaperl | last post by:
I'm actually taking Microsoft's 2779 and just finished a lab where we kept track of our changes to the database. However, I'm not happy with the scripts interface because it does not tell me the...
2
by: slinky | last post by:
I'm getting a error when I open my . aspx in my browser... line 34: da.Fill(ds, "Assets") Here's the error and my entire code for this .aspx.vb is below that ... I need some clues as to what is...
10
by: Karlo Lozovina | last post by:
Hi, what's the best way to keep track of user-made subclasses, and instances of those subclasses? I just need a pointer in a right direction... thanks. -- Karlo Lozovina -- Mosor
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
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...
0
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...
0
tracyyun
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.