C
croberts
Hello,
I'm working on a church donations database. A donor can be an
individual or a business. tblIndividual and tblBusiness reside in an
external membership database. I've created tblDonor with DonorID pk,
DonorTypeID (1=individual, 3=business), PersonLinkID (fk to
tblIndividual) and CompanyLinkID (fk to tblBusiness). Records are
continually added to the tables in the membership database that may or
may not ever be donors, so tblDonor only contains records for those
who are actually donors. I want to store the DonorID in the db with
each contribution. When the bookkeeper enters a contribution, I'm
trying to make it as simple as possible to select or add the donor.
What I'm thinking is that she begins typing the donor name in the
combo, checking displayed address where there are multiples of the
same name. If this is a repeat donor, the Donor ID is stored in the
field and she moves on. If this is a new donor but they are recorded
in the membership database, selecting the name appends a row in
tblDonor with the DonorType-determined by the table the name comes
from, and the foreign key in the appropriate field, and the form is
updated with the new DonorID. If this is a new donor with no record in
the membership db, a form opens to enter all the applicable info then
she is returned to the main form with the new DonorID populated. But I
seem to be spinning trying to get this to work and thinking I'm making
it more difficult than it needs to be?
Since existing member-non donors don't have a DonorID, I used an
unbound combo to display the results of the union query. DonorID,
DonorTypeID and pk for each individual or business are hidden columns.
If the donor ID is empty, the code appends tblDonor with data from the
hidden columns. But then I need to display the name in a bound field.
I've tried stacking the bound and unbound fields and toggling
visibility and setfocus, but keep getting 'Access can't set focus to
that field' [Access, you can't set focus and you can't tell me why??!!-
oh, pardon my grumbling ...] Then I'll need to use NotInList to trap
the entries who are new to donors and to membership-but I can't use
NotInList on an Unbound combo, can I?.
At this point I've very much confused myself and would so much
appreciate anyone who could help me sort this out.
I'm working on a church donations database. A donor can be an
individual or a business. tblIndividual and tblBusiness reside in an
external membership database. I've created tblDonor with DonorID pk,
DonorTypeID (1=individual, 3=business), PersonLinkID (fk to
tblIndividual) and CompanyLinkID (fk to tblBusiness). Records are
continually added to the tables in the membership database that may or
may not ever be donors, so tblDonor only contains records for those
who are actually donors. I want to store the DonorID in the db with
each contribution. When the bookkeeper enters a contribution, I'm
trying to make it as simple as possible to select or add the donor.
What I'm thinking is that she begins typing the donor name in the
combo, checking displayed address where there are multiples of the
same name. If this is a repeat donor, the Donor ID is stored in the
field and she moves on. If this is a new donor but they are recorded
in the membership database, selecting the name appends a row in
tblDonor with the DonorType-determined by the table the name comes
from, and the foreign key in the appropriate field, and the form is
updated with the new DonorID. If this is a new donor with no record in
the membership db, a form opens to enter all the applicable info then
she is returned to the main form with the new DonorID populated. But I
seem to be spinning trying to get this to work and thinking I'm making
it more difficult than it needs to be?
Since existing member-non donors don't have a DonorID, I used an
unbound combo to display the results of the union query. DonorID,
DonorTypeID and pk for each individual or business are hidden columns.
If the donor ID is empty, the code appends tblDonor with data from the
hidden columns. But then I need to display the name in a bound field.
I've tried stacking the bound and unbound fields and toggling
visibility and setfocus, but keep getting 'Access can't set focus to
that field' [Access, you can't set focus and you can't tell me why??!!-
oh, pardon my grumbling ...] Then I'll need to use NotInList to trap
the entries who are new to donors and to membership-but I can't use
NotInList on an Unbound combo, can I?.
At this point I've very much confused myself and would so much
appreciate anyone who could help me sort this out.