Guest
Posts: n/a
|
Okay, I've decided that I'll track my collection and play cards using quality
as a separator (Mint for the Collection, Unknown for the Play, and the other qualities for purposes yet to be discovered! Now, I need to "move" cards previously entered from one quality to another. How do I perform the following: foreach card in inventory If Quantity_Owned (Quality Unknown) >= 1 then Quantity_Owned (Quality Mint) = 1 Quantity_Owned (Quality Unknown) = Quantity_Owned (Quality Unknown) - 1 endif next card I don't really want to have to do this by hand, because then I'd effectively have to reinventory. Help please! R. ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511 http://us.click.yahoo.com/l.m7sD/LId...sNAA/WuQolB/TM ---------------------------------------------------------------------~-> |
#1 |
Guest
Posts: n/a
|
Russell J. Alphey wrote:
> foreach card in inventory > If Quantity_Owned (Quality Unknown) >= 1 then using filters, exclude inventory owned -> 0 > > Quantity_Owned (Quality Mint) = 1 > > Quantity_Owned (Quality Unknown) = Quantity_Owned (Quality > Unknown) - 1 highlight all cards shown using batch edit, set the quantity of the mint style to 1 . using filters, show inventory owned -> 1 (do this for each amount) using batch edit, set the quantity of the unknown style to quantity - 1 (one less than the inventory owned being showed). (do this for each amount) -- Jim Williamson <jim@timewarpcomics.com <mailto:jim@timewarpcomics.com>> TimeWarp Comics & Games (973) 857-9788 www.timewarpcomics.com <http://www.timewarpcomics.com> ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511 http://us.click.yahoo.com/l.m7sD/LId...sNAA/WuQolB/TM ---------------------------------------------------------------------~-> |
#2 |
Guest
Posts: n/a
|
oh yeah, back up your inventory before you do this.
Jim Williamson wrote: > Russell J. Alphey wrote: > > > foreach card in inventory > > If Quantity_Owned (Quality Unknown) >= 1 then > > using filters, exclude inventory owned -> 0 > > > > > Quantity_Owned (Quality Mint) = 1 > > > > > Quantity_Owned (Quality Unknown) = Quantity_Owned (Quality > > Unknown) - 1 > > highlight all cards shown > using batch edit, set the quantity of the mint style to 1 . > > using filters, show inventory owned -> 1 (do this for each amount) > using batch edit, set the quantity of the unknown style to quantity - 1 > (one less than the inventory owned being showed). (do this for each > amount) > > > -- > Jim Williamson <jim@timewarpcomics.com <mailto:jim@timewarpcomics.com>> > TimeWarp Comics & Games > (973) 857-9788 > www.timewarpcomics.com <http://www.timewarpcomics.com> > > > > Yahoo! Groups Sponsor > ADVERTISEMENT > click here > <http://rd.yahoo.com/M=251812.3856299.5103760.1261774/D=egroupweb/S=1705053078:HM/A=1754451/R=0/SIG=11tkldm5d/*http://www.netflix.com/Default?mqso=60178323&partid=3856299> > > > > To unsubscribe from this group, send an email to: > cardvault-unsubscribe@yahoogroups.com > > > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service > <http://docs.yahoo.com/info/terms/>. -- Jim Williamson <jim@timewarpcomics.com <mailto:jim@timewarpcomics.com>> TimeWarp Comics & Games (973) 857-9788 www.timewarpcomics.com <http://www.timewarpcomics.com> [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511 http://us.click.yahoo.com/l.m7sD/LId...sNAA/WuQolB/TM ---------------------------------------------------------------------~-> |
#3 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 8,232
|
V1.3 adds a new quality rating called "reserved". This new quality is
intended for folks who keep a set of cards separate from their play set. In V1.3, you can track quantities but no prices for reserved cards. In addition, reserved cards are EXCLUDED from your inventory totals during deck construction. That way, you only build decks against the playable portion of your inventory. You'll be able to easily switch the reserved cards from mint quality. Save an inventory XML file that only includes your mint quality cards. Then open the resulting text file in a text editor like Notepad and do a search and replace of "mint" to "reserved". Then load the file back into CV, and all the reserved quantities should be set correctly. You'll also need to clear the inventory quantities for mint to zero. :-) Note that V1.3 also adds a new "electronic" quality for tracking electronic cards, along with the ability to build decks against either the electronic inventory or the physical inventory. You can also enable/disable use of the target quantity individually for cards in V1.3. Hope this helps, Rob P.S. Make a backup before the conversion, just to be safe. :-) At 03:50 PM 9/12/2003 +1000, you wrote: >Okay, I've decided that I'll track my collection and play cards using quality >as a separator (Mint for the Collection, Unknown for the Play, and the >other qualities >for purposes yet to be discovered! > >Now, I need to "move" cards previously entered from one quality to another. > >How do I perform the following: > >foreach card in inventory > If Quantity_Owned (Quality Unknown) >= 1 then > Quantity_Owned (Quality Mint) = 1 > Quantity_Owned (Quality Unknown) = Quantity_Owned (Quality > Unknown) - 1 > endif >next card > >I don't really want to have to do this by hand, because then I'd >effectively have to reinventory. > >Help please! > >R. --------------------------------------------------------------------------- Rob Bowes (rob@wolflair.com) (559) 658-6995 Lone Wolf Development www.wolflair.com ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511 http://us.click.yahoo.com/l.m7sD/LId...sNAA/WuQolB/TM ---------------------------------------------------------------------~-> |
#4 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dual Spell Schools | Culhwch | HL - d20 System | 4 | February 6th, 2007 09:52 AM |
Dual inventorie | Ralphey at mtgmelb.com | Card Vault | 0 | September 13th, 2003 12:37 AM |
How to maintain dual inventories | Ralphey at mtgmelb.com | Card Vault | 14 | July 10th, 2003 11:35 PM |
Merging Inventories? | blalien at aol.com | Card Vault | 2 | June 11th, 2003 05:59 PM |
Merging Inventories/MTG | emperor799 at bellsouth.n | Card Vault | 0 | June 10th, 2003 08:47 AM |