I may have just figured it out but I thought I would throw it out there and see if anyone has a different solution. I work a pizza delivery company and I get a printed out receipt for each delivery I make. On there is a delivery date, order number, order time, order out, address, etc. I created a table just for those tickets and everything was working fine until I wanted to start tracking my mileage.
So I thought lets create another table with just the delivery date, order number, trip number, trip amount, trip start (starting mileage), trip stop (ending mileage) and a calculated field named distance. The way I see it there is no unique filed between the two tables. I cannot use order number because there may be the same order number today that I would deliver tomorrow. Then I thought maybe I can concatenate a unique ID that would work between the two tables. To which I learned you cannot do that in Access or at least I got an error message saying I couldn't create a relationship between the two tables using a calculated field.
So I am not really wanting to do this but I would just add the fields from my tblMileage to my tblTicketData. What are your thoughts? Is there a way I can have the two separate tables or should I just combine them?
Thanks for the ideas.
So I thought lets create another table with just the delivery date, order number, trip number, trip amount, trip start (starting mileage), trip stop (ending mileage) and a calculated field named distance. The way I see it there is no unique filed between the two tables. I cannot use order number because there may be the same order number today that I would deliver tomorrow. Then I thought maybe I can concatenate a unique ID that would work between the two tables. To which I learned you cannot do that in Access or at least I got an error message saying I couldn't create a relationship between the two tables using a calculated field.
So I am not really wanting to do this but I would just add the fields from my tblMileage to my tblTicketData. What are your thoughts? Is there a way I can have the two separate tables or should I just combine them?
Thanks for the ideas.
Last edited: