A
Alan
I am setting up a new database with Access 2002 (XP) containing the
following tables:
1. Donors
2. Donations
Each table will contain the following main fields:
Donors:
1. DonorNo - primary key
2. FirstName
3. LastName
4. Address
5. Phone
Donations:
1. DonorNo
2. DateDeposited
3. CheckNo
4. Amount
5. GLAccount
The primary key for Donations will be a combination of the first three
fields listed above.
I need help creating an input form that will allow an inexperienced
user to input new donations. I want the user to be able to type the
first three characters of the DonorNo in order to get a list of
existing Donors from which to choose for the new donation record to be
input. If the Donor already exists, the form should display all fields
for the Donor selected and then allow the user to input the Donation
info for the new record and add the record to the Donations table. If
the Donor is new, the form should allow the user to add the new donor
to the Donors table and then allow the user to input the Donation
information for that new donor and add it to the Donations table.
Having one input form adding records to potentially two different
tables is what I find confusing.
I have several years experience working with Access as a reporting
tool (i.e., extensive use of queries and reports) but very little
experience with input forms, code modules or database application
design. I would appreciate any assistance in explaining how to design
an input form to accomplish the above as well as any specific code
that may be required. Thanks for your help.
Alan
following tables:
1. Donors
2. Donations
Each table will contain the following main fields:
Donors:
1. DonorNo - primary key
2. FirstName
3. LastName
4. Address
5. Phone
Donations:
1. DonorNo
2. DateDeposited
3. CheckNo
4. Amount
5. GLAccount
The primary key for Donations will be a combination of the first three
fields listed above.
I need help creating an input form that will allow an inexperienced
user to input new donations. I want the user to be able to type the
first three characters of the DonorNo in order to get a list of
existing Donors from which to choose for the new donation record to be
input. If the Donor already exists, the form should display all fields
for the Donor selected and then allow the user to input the Donation
info for the new record and add the record to the Donations table. If
the Donor is new, the form should allow the user to add the new donor
to the Donors table and then allow the user to input the Donation
information for that new donor and add it to the Donations table.
Having one input form adding records to potentially two different
tables is what I find confusing.
I have several years experience working with Access as a reporting
tool (i.e., extensive use of queries and reports) but very little
experience with input forms, code modules or database application
design. I would appreciate any assistance in explaining how to design
an input form to accomplish the above as well as any specific code
that may be required. Thanks for your help.
Alan