S
skylark_on_siege
I have created a database to record information related to property
management. Ownership of a property may be by a single owner or a group
of owners (in a partnership or corp.)
I have the following tables:
tblUnits
Fields: RecNum (autonumber)
ID; TEXT, 10 (primary key)
Name; TEXT 25
Owner; TEXT 10
tblOwners
Fields: RecNum (autonumber)
ID; TEXT, 10 (primary key)
Name; TEXT, 25
tblPartnerships
Fields: RecNum (autonumber)
ID; TEXT, 10 (primary key)
Name; TEXT, 25
tblPartnerMembers
Fields: PartnershipID (lookup field to tblPartnerships ID)
OwnerID (lookup field to tblOwners ID)
PercentOwnership
(PartnershipID & OwnerID together make up the primary
key)
What I want to happen, is in my form frmUnits that is used to enter
information for each new property, to have a list or combo box called
cbxOwnershipType, that lets the user select "Single" or "Multiple", and
after the selection, will provide the appropriate record source in the
combo box for looking up the owner ID, which is bound to Units.Owner,
as either the Owners table or the Partnerships table.
I have searched the groups and other sources a good bit, and while I
have found a lot of programming discussions about updating controls
based on other controls, I have been unable to find an existing topic
that helps me solve this problem. I do not know VBA, and I am a novice
in SQL. I mainly depend on the user interface in Access 2003 to
construct what I need.
Any assistance would be greatly appreciated!
management. Ownership of a property may be by a single owner or a group
of owners (in a partnership or corp.)
I have the following tables:
tblUnits
Fields: RecNum (autonumber)
ID; TEXT, 10 (primary key)
Name; TEXT 25
Owner; TEXT 10
tblOwners
Fields: RecNum (autonumber)
ID; TEXT, 10 (primary key)
Name; TEXT, 25
tblPartnerships
Fields: RecNum (autonumber)
ID; TEXT, 10 (primary key)
Name; TEXT, 25
tblPartnerMembers
Fields: PartnershipID (lookup field to tblPartnerships ID)
OwnerID (lookup field to tblOwners ID)
PercentOwnership
(PartnershipID & OwnerID together make up the primary
key)
What I want to happen, is in my form frmUnits that is used to enter
information for each new property, to have a list or combo box called
cbxOwnershipType, that lets the user select "Single" or "Multiple", and
after the selection, will provide the appropriate record source in the
combo box for looking up the owner ID, which is bound to Units.Owner,
as either the Owners table or the Partnerships table.
I have searched the groups and other sources a good bit, and while I
have found a lot of programming discussions about updating controls
based on other controls, I have been unable to find an existing topic
that helps me solve this problem. I do not know VBA, and I am a novice
in SQL. I mainly depend on the user interface in Access 2003 to
construct what I need.
Any assistance would be greatly appreciated!