Saving a user defined label layout for use later on
Posted on 2004-09-25
I'm about to start developing a label printing program in which the user can create a label which will be used over and over again for printing item, supplier, customer labels etc.
The user will drop fields onto a label template then resize, adjust fonts and then assign a database field to the graphical field on the label layout.
So once this label layout has been created and saved the user will use the second part of the program to select, let's say, a list of customers from their SQL Server database. Then select the predefined label format and print a specified number of labels for the selected customers.
I guess my real issue is this.
I have a rough idea of how to do the first part of the program i.e setting up a label representation on screen that the user can modify to suit. I know how to do the second part i.e pulling user selected fields from the underlying database ready for printing. But how do I merge the two together:)
How do I save the layout from the first part in a way that I can easily access it in the second, assign the appropriate user selected database fields and print them in the right format.
Basically this is a very general question which will clear up some conceptual design issues for me before I start and any little tidbits would be appreciated. Clues on which components could be useful etc.
Anyway thanks heaps