Answered
Help! How to do a 'Save to Print' option
Okay, so I admit I know just enough ColdFusion to be
dangerous but not efficient.
I am developing an Obituary database for a client including Last Name, First Name, Date of Death, Source, Source Date, etc. Each record has a unique ID as primary key.
The end user can search for records that meet various search criteria. The client would like the end user to be able to save various records to a "print record" that would store them until they are ready to print all the records. (Client is a library so they want to save printing paper).
I've tried to tackle this problem in multiple ways but without much success. I think I may be limited by my knowledge of client and session variables and/or structs and arrays.
Because of my lack of knowledge of structs and arrays, I set up a table in my database called print list and simply stored the ID of the record when the end user added it to the print list. The problem, however, is that if mutiple users are using the database at one time, the print list will not be exclusive to that particular user.
I need to know the most efficient way to allow the end user to add to and delete from a list of print records and of course eventually print the record and empty the list, but do so in a way that multiple users on separate workstations could potentially do so simulaneously without interfere with each other.
Any ideas would be much appreciated.
I am developing an Obituary database for a client including Last Name, First Name, Date of Death, Source, Source Date, etc. Each record has a unique ID as primary key.
The end user can search for records that meet various search criteria. The client would like the end user to be able to save various records to a "print record" that would store them until they are ready to print all the records. (Client is a library so they want to save printing paper).
I've tried to tackle this problem in multiple ways but without much success. I think I may be limited by my knowledge of client and session variables and/or structs and arrays.
Because of my lack of knowledge of structs and arrays, I set up a table in my database called print list and simply stored the ID of the record when the end user added it to the print list. The problem, however, is that if mutiple users are using the database at one time, the print list will not be exclusive to that particular user.
I need to know the most efficient way to allow the end user to add to and delete from a list of print records and of course eventually print the record and empty the list, but do so in a way that multiple users on separate workstations could potentially do so simulaneously without interfere with each other.
Any ideas would be much appreciated.
