D
Daryl Mhoon via AccessMonster.com
I read where Rick advised against reinventing the wheel. I know there are
inexpensive accounting packages that would perform better than anything that
I could design with Access. I've taken a few accounting classes and I'm
aware of this fact.
Unfortunately they just don't suffice in my business (Property Management) so
I developed a game plan, set accounting asside for the moment and here is
what I have come up with. Tell me what you think...
I definately need two tables one for charges and another for payments. That
seems to be the consensus here also.
I've thought long and hard about how to relate these tables. I've considered
a one to many relationship with Payments on one side and Charges on the many
side. This won't work for me. Tenants occasionally overpay five $5.00 or by
one month's rent, or they may make multiple payments on one charge. My only
solution in that case is a many to many relationship. I've had horrible luck
with many to many relationships, for this and other reasons I'd prefer to
avoid them.
Instead I have tblLeases that is the one side of relations to: tblTenants,
tblVehicles, tblRecurringCharges, tblDeposits, tblCharges tblPayments (and a
few more I've forgotten) on the many side. I have no direct relations
between tblCharges and tblPayments save for their common table tblLeases. Is
there a reason why this won't work? As I see it I shouldn't have any
problems (if I figure out how to allocate monies via VBA) printing receipts,
Tenant Ledgers, Notices, and just about anything else that I need.
In tblCharges I have about 10 fields, the most important of them are:
[ChargeID] [LeaseID] [Date] [ChgAmnt] [Description] [AmntPaid]. tblPayments
in conjunction with tblPaymentMethods is less complex with basically the same
fields: [PmntID] [LeaseID] [Date] [PmntAmnt] [Notes] ([PmntAmnt] is
actually NOT a field in tblPayments, it is a Sum of the tblPaymentMethods.)
The form frmPayments serves as the place to process and relate this data. My
plan was to have two subforms, subfrmPayments, subfrmUnpaidCharges on this
main form. I would enter the payement amount then allocate the total to
subfrmUnpaidCharges (this is proving a problem...) They way I see it I don't
really need a relationship between charges and payments as long as RI is
enforced in ALL the relationships starting at tblLeases and foreign fields
are required.
It wont be the first time I've spent hours on a form or project to find that
my design was all wrong, I was hoping to use you folks as a sounding board
before I shoot myself in the foot again.
Thanks,
Daryl
inexpensive accounting packages that would perform better than anything that
I could design with Access. I've taken a few accounting classes and I'm
aware of this fact.
Unfortunately they just don't suffice in my business (Property Management) so
I developed a game plan, set accounting asside for the moment and here is
what I have come up with. Tell me what you think...
I definately need two tables one for charges and another for payments. That
seems to be the consensus here also.
I've thought long and hard about how to relate these tables. I've considered
a one to many relationship with Payments on one side and Charges on the many
side. This won't work for me. Tenants occasionally overpay five $5.00 or by
one month's rent, or they may make multiple payments on one charge. My only
solution in that case is a many to many relationship. I've had horrible luck
with many to many relationships, for this and other reasons I'd prefer to
avoid them.
Instead I have tblLeases that is the one side of relations to: tblTenants,
tblVehicles, tblRecurringCharges, tblDeposits, tblCharges tblPayments (and a
few more I've forgotten) on the many side. I have no direct relations
between tblCharges and tblPayments save for their common table tblLeases. Is
there a reason why this won't work? As I see it I shouldn't have any
problems (if I figure out how to allocate monies via VBA) printing receipts,
Tenant Ledgers, Notices, and just about anything else that I need.
In tblCharges I have about 10 fields, the most important of them are:
[ChargeID] [LeaseID] [Date] [ChgAmnt] [Description] [AmntPaid]. tblPayments
in conjunction with tblPaymentMethods is less complex with basically the same
fields: [PmntID] [LeaseID] [Date] [PmntAmnt] [Notes] ([PmntAmnt] is
actually NOT a field in tblPayments, it is a Sum of the tblPaymentMethods.)
The form frmPayments serves as the place to process and relate this data. My
plan was to have two subforms, subfrmPayments, subfrmUnpaidCharges on this
main form. I would enter the payement amount then allocate the total to
subfrmUnpaidCharges (this is proving a problem...) They way I see it I don't
really need a relationship between charges and payments as long as RI is
enforced in ALL the relationships starting at tblLeases and foreign fields
are required.
It wont be the first time I've spent hours on a form or project to find that
my design was all wrong, I was hoping to use you folks as a sounding board
before I shoot myself in the foot again.
Thanks,
Daryl