View Single Post
Old 08-18-2012, 09:40 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,104
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Pepin33 View Post
Is there any way to change custom columns type without loosing its content? (for example, if I have an "integer" column, and I want to change it to "number with decimals").

If the answer is not (I think so), then I suppose the way is to create a new custom column and to copy old values from the other. In this case, is there any way to copy the full column (for all the library) at a time?
I think this might work with a composite column:
Do the Shell game with Search and Replace:
Make your new column (you can rename later).
Now select all books that us the custom column
Tap the 'E' key (bulk edit) and select the Search and replace tab
Select your old column to find
the REGEX search term is (.+)
Select your new column as the destination
the REGEX value is \1
Apply
Once you are happy, use the column editor to remove the old column
theducks is offline   Reply With Quote