Let me start off by saying thank you for taking the time to assess my problem. 2nd let me say I know this is not good access coding but it works best for my application.
THE DB is a maintenance ticket program. When something breaks they write a ticket to schedule someone to fix it.
The user opens the form. On that form there is a combo box. Row source is a query. It has the unitname & UnitID.
This information is going int blTicket. I am passing the UnitID to the table for storing not the unit name. Therefore the column count is 2 and the bound is 1. The width is 0;1 so the user only sees the name of the unit they are scheduling.
This works perfect when you tab from field to field and into the next record. However, everything looks fine but if you print then it will print the name on the first record.
It does not store that name it just prints it. If you pull up that record again it will be correct and print correctly.
For instance, If the first record unitname was test and you went on to create the second record and the unitname is office. then when you hit print it will print test as the unitname for both of them.
I have no idea how or why.
Any help is greatly appreciated.
THE DB is a maintenance ticket program. When something breaks they write a ticket to schedule someone to fix it.
The user opens the form. On that form there is a combo box. Row source is a query. It has the unitname & UnitID.
This information is going int blTicket. I am passing the UnitID to the table for storing not the unit name. Therefore the column count is 2 and the bound is 1. The width is 0;1 so the user only sees the name of the unit they are scheduling.
This works perfect when you tab from field to field and into the next record. However, everything looks fine but if you print then it will print the name on the first record.
It does not store that name it just prints it. If you pull up that record again it will be correct and print correctly.
For instance, If the first record unitname was test and you went on to create the second record and the unitname is office. then when you hit print it will print test as the unitname for both of them.
I have no idea how or why.
Any help is greatly appreciated.