I have a project I am still working on that I got some outstanding help on from one of the Access guru's, GrahamMandeno.
I have an issue I am trying to resolve. Basically, I have a form that allows the user to print BOLs (bill of ladings). They select the carrier/trailers they want to print from a listbox. They make their selections and press the "Print Selected BOLs" button and all the orders for the selected carrier/trailer combinations print. That is all working great.
The problem comes in when I added a button that toggles the selections for them to choose from in the list box to display the carriers/trailers that were 1) printed and 2) not printed. The toggle and selection works fine as well as the printing until there happens to be 1 order on a carrier/trailer that has already been printed and 1 that has not been printed. The way it will work now is:
If you select 1 that is not printed to print, it still prints all the carriers/trailers regardless of if they have been printed or not. I see where the code is (in highlighted green).
So my question is: how do I get the module "modPrintOneBOL" to only print the selected carrier/trailers the way it does not but also take into consideration the printed/not printed toggle?