Okay, here's the deal... I'm a newbie to Access, and can't wrap my head around this problem... This is my first database, and I was plugging along just fine until I came across this one...
I'm building a database to track Taxi Chits for the company I'm with...
Here's my structure, in a nutshell:
One user can have many taxi chit books assigned to him or her. Each book contains 15 chits with individual serial numbers.
I have three tables set up. Employees is the list of all company employees. BookAssign is the table containing the list of books each employee is assigned to. ChitAssign is the table containing the list of individual Taxi Chits assigned to each Book.
I have no problem creating a new Employee, nor assigning a book to a specific employee. The form for book assignment includes three pieces of data: The employee's name (selected from a list), the book number (a unique identifier for the book), and the serial number of the first chit in the book (the following fourteen increment by +1).
What I can't do, is populate the ChitAssign table with fifteen new chits as a book is assigned to a user.
Basically, I want each entry in ChitAssign to contain a Primary Key called ChitID, a serial number called ChitSerial (based on the serial number entered in the BookAssign table (+0, +1, +2, etc)), and a book number, culled from BookID in the BookAssign table.
Can anyone out there help me with the process I'd use to create 15 entries automatically?
I'm building a database to track Taxi Chits for the company I'm with...
Here's my structure, in a nutshell:
One user can have many taxi chit books assigned to him or her. Each book contains 15 chits with individual serial numbers.
I have three tables set up. Employees is the list of all company employees. BookAssign is the table containing the list of books each employee is assigned to. ChitAssign is the table containing the list of individual Taxi Chits assigned to each Book.
I have no problem creating a new Employee, nor assigning a book to a specific employee. The form for book assignment includes three pieces of data: The employee's name (selected from a list), the book number (a unique identifier for the book), and the serial number of the first chit in the book (the following fourteen increment by +1).
What I can't do, is populate the ChitAssign table with fifteen new chits as a book is assigned to a user.
Basically, I want each entry in ChitAssign to contain a Primary Key called ChitID, a serial number called ChitSerial (based on the serial number entered in the BookAssign table (+0, +1, +2, etc)), and a book number, culled from BookID in the BookAssign table.
Can anyone out there help me with the process I'd use to create 15 entries automatically?