autonumber..........aarrggghhh
Hi, i have an on going issue i need to resolve before we can use this database.
i have created a table with customer details, name, address, car reg, etc. within this table is a field called addressID which is the primary key and is an auto number. i then created a form off of this table. i have also created a report to be printed. The form has a print button which prints out the record you are on and only this record by using the addressID so as not to print out all the records. so if i now add a customer into the form it will have an automatically assigned number, from the addressid field, not a problem. But i would like my report to have a unique number (called job no.) printed on it. i cant use the addressid as customers come back and have other jobs done. i currently print out the job card and manually write the job number in and keep a running sheet of numbers until i can resolve this. i have tried creating a separate table with just one field (job no) and set this to auto number and inserting this into the report, but cant see this in the reports field list as this report is built from my original table. i dont think the dmax option will help me, i tried to use it but dont understand it. maybe i am asking access to do something it is not capable of or i have built it wrong from the start. so to sum up when i click print from my form print button i need the printed report to be the next in the sequence, it may be the same customer who was in last week, year, month it just needs to be a new job number and i dont care if it starts at 1 or 1000. thank you in advance.