My roommate wants me to set up an Access db to track tenant rent payments, since we're all out of work deadbeats who can only really pay piece-meal, or in barter.
He wants a db that will let him enter a payment, indicate whether it is cash or not, and if not, enter some notes to see what sort of arrangement was made. (I.E., $100 'payment' actually consisted of deadbeat roommate creating monthly rental db in Access.)
So I'm looking at:
*Tenants Table*
Tenant ID (Primary Key) - linked to ID in transactions table
Tenant Name
Tenant Rent (monthly rent rate, fixed value)
*Transactions Table*
Transaction ID, primary key
Tenant ID, linked to tenants table -> tenant id
Transaction Date
Transaction Amount
IsCash (yes or no)
Notes (if not cash, then what)
What I CANNOT figure out is the entry form for entering payments. What I would like is a form (called Entry or similar) that lets him select the roommate making a payment, the amount of the payment, whether it's cash, what day it was made, and any notes.
The problem I'm running into is allowing a selection of the roommates name to then translate into looking up the appropriate Tenant ID and then inserting that into the transactions table when the form is filled out. (If that's not clear, please say so and I'll try to be more explicit.)
Or put another way, I'd like to populate a list box with values (all unique) from all records in one table, and then have the form insert a related field from the chosen record into another table.
In other words, the list box shows our names, but selecting a name means our Tenant ID is entered into the transactions table.