How should I create a unique code for a comic title?
The ComicsPriceGuide.com Boards
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



How should I create a unique code for a comic... Expand / Collapse
Author
Message
Posted 6/15/2008 11:19:54 AM
Enthusiast

EnthusiastEnthusiastEnthusiastEnthusiastEnthusiastEnthusiastEnthusiastEnthusiastEnthusiastEnthusiast

Group: Forum Members
Last Login: 9/9/2008 11:47:22 AM
Posts: 39, Visits: 99
As some of you may know, I have written a little data transformation program to port the CPG Excel file into a more database friendly format.  While I think the pricing capabilities of CPG are great, it still needs quite a few features added before I can really use it to manage the sale of my 18,000 comics. For example, if I have 3 copies of issues 1-25 of a certain title and I decide to ebay 1 lot of these comics, I must decrement the quanities by one for all 25 issues after the sale.  Using my own database I could do this with a single update statement and it would take me less than one minute.  With CPG this process would take much longer to complete because it is (1) web based and (2) you must update each issue one by one which takes a lot of time.

I might also want to create my own website for direct sales rather than using ebay, so managing the inventory and sales details would be better via my own database. The problem is, comic prices are variable and that is what is so great about CPG.  Put in your inventory and the prices are mantained automatically.

So, my goal is to create/use an application to port the data to another database as well as use the application to periodically obtain the latest prices from CPG for each of my collection's titles. To do this, I need to create a unique code for each individual title from the fields provided by CPG in the download file (since no unique field is already provided in that file). 

Right now I am considering using the PUBLISHER + TITLE + VOLUME + START YEAR as the unique field. Does it seem reasonable to assume that a publisher would not release the exact same title during the same year with the same volume number?

By the way, I will make this program available for free to everyone when it is done.  This program should be seen as complimentary to CPG since it still requires the CPG data (and likewise the subscription) in order to use it.

Post #18277
Posted 6/15/2008 2:10:37 PM


Master Collector

Master CollectorMaster CollectorMaster CollectorMaster CollectorMaster CollectorMaster CollectorMaster CollectorMaster CollectorMaster CollectorMaster Collector

Group: Forum Members
Last Login: Yesterday @ 10:09:03 PM
Posts: 890, Visits: 755
It seems much simpler to use the barcode as it pertains to the individual unique title. Under your format, a one-shot or special could through a spanner in the works.









Where does he get those wonderful toys!

I have yet begun to surrender.

Post #18291
Posted 6/15/2008 4:34:56 PM


Collector

CollectorCollectorCollectorCollectorCollectorCollectorCollectorCollectorCollectorCollector

Group: Forum Members
Last Login: 11/19/2008 10:44:13 PM
Posts: 252, Visits: 334
That wouldn't work Joker,  What about all the old issues with no bar-code.   Or direct editions........

YOU WERE POUNCED ON BY THE BIG-CAT!!

Post #18305
Posted 6/15/2008 4:37:09 PM


Collector

CollectorCollectorCollectorCollectorCollectorCollectorCollectorCollectorCollectorCollector

Group: Forum Members
Last Login: 11/19/2008 10:44:13 PM
Posts: 252, Visits: 334
HOGvol,

You're talking about a key, like the same with Microsoft access database. Correct?  (a key that is unique)?

YOU WERE POUNCED ON BY THE BIG-CAT!!

Post #18306
Posted 6/16/2008 1:36:13 PM
Enthusiast

EnthusiastEnthusiastEnthusiastEnthusiastEnthusiastEnthusiastEnthusiastEnthusiastEnthusiastEnthusiast

Group: Forum Members
Last Login: 9/9/2008 11:47:22 AM
Posts: 39, Visits: 99
I am talking about creating a simple key for each title rather than for each issue and I will let Access create a unique primary key at the issue level. As I mentioned in my previous message, since I may want to update the qtys for many issues at once (when I sell them in a lot), it would be nice to sometimes be able to use this:

UPDATE comics SET qty = qty-1 WHERE titlekey = 'MALIBU_RUNE_1_1993'

(the Title Key being Publisher + Title + Volume + Start Year)

In the new database I am developiong, I am dividing the CPG Title field into separate Title, Volume, Start Year, and All Years Fields and I am adding the "Title Key" field as well as dropping the "Subtotal" field (i.e. qty * price) because it can be calculated at any time.

My program will convert the CPG Excel file data so that it can be imported into an Access database and then the program will be further used to periodically extract the latest prices from newer CPG downloads by parsing the new Excel file using the original parsing algorithm. Of course the downside is that I have no control over any changes to the layout of the CPG Excel file that may occur over time, but I can always update the program pretty easily if need be.

The net result is that I will have a local database that has all of my comics with the latest prices and as I sell them I can manage the ever shrinking inventory as well as the boxes where the comics are located (which also will change). And, I might even create an E-Store of some kind and sell the comics directly at X% off of book price using an Access database that utilizes dynamic inventory reduction.

I have 18,000 comics to sell and it is going to take a while to do.  So, I am trying to take advantage of the power of CPGs pricing model while still taking advantage of my own programming skills in managing the sales and inventory aspect of this project.

Sorry for the longwindedness... I just wondered if people thought that I could get away with a key for the title being Publisher + Title + Volume + Start Year...

Post #18466
Posted 6/16/2008 1:55:51 PM


Master Collector

Master CollectorMaster CollectorMaster CollectorMaster CollectorMaster CollectorMaster CollectorMaster CollectorMaster CollectorMaster CollectorMaster Collector

Group: Forum Members
Last Login: 11/18/2008 3:22:17 PM
Posts: 568, Visits: 1,622
Reading this thread gives me a headache..



Post #18469
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: bneely, Rocket2600, Shadow, argus, ckillian, klindsay, over40artist, Set 0ne, WOLFEN, Murray Clack, Earl Davis, coffeeman27, Alehldean, Yogurt, Brock, DoctrMidNite, mballard

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 6:29am

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.156. 9 queries. Compression Disabled.