Cardbox > Forums > Cardbox Talk > "Help with Validators - creating pick lists"
Help with Validators - creating pick lists
Current user: [none] |
| Posted By | Post |
|---|---|
Bernard B | 30-Jul-2008 10:47 Hi, I'm using Cardbox 3 (Professional) to catalogue a mix of print and electronic resources held in a small specialist library. I want to use validators / pick lists to contain a controlled vocabularly /specified list of terms that I would then add to a subject field in each catalogue record. These terms might consist of a single word such as "disabilities" or more than one word, such as "mental health services". I'm clear on how the lists work, and how to access and use them within Cardbox - my question is can these lists handle terms that are more than one word (i.e. like "mental health services", which I can then apply to the relevant field? I may have overlooked something, but as far as I can see the lists can only contain single words. Is there a way in which the lists can contain terms of more than one word? If anyone knows the answer, I'd be extremely grateful to hear from them. Bernard Barrett |
Mary Doyle (DAF) | 30-Jul-2008 11:47 Hi Bernard, This is our way of verifing keywords, classification codes etc. You will need to adapt the sample below, which is based on our classification code transfer (we are too short-staffed to keyword, though I do have a keyword sample somewhere). You will have to add a bit to get rid of leading spaces if the variable KeywordsListedAlready is blank - if you need help to do this I will do it later for you when I have a bit more time. The actual macro we currently use pre-dates my current scripting knowledge. It is a litte more crude but it works and "if it ain't broke, don't fix it!). It doesn't require removing the spaces, as it goes to the end of the field and pastes the new keyword in after the last one - I think we manually type in a comma after the existing keyword before calling the macro - haven't done it for a while. For reference I will add it at the end. Hope this helps. Mary Activate "thes" Exiting macro - actually used to copy classification codes: 'Written by Mary Doyle, Librarian, DAFF Activate "class" |
R. Woodhouse | 30-Jul-2008 13:07 Dear Bernard, Martin helped me write a macro which called a separate "Lexicon" database. It was called knowing the field that it was called from, and selected all Lexicon records related to that field. It then displayed a format with the long description of the keywords, allowing you to tag those desired. On selecting return to database it copied the text in the related Lexicon short keyword field and appended them to the end of whatever was already in the database keyword field. I found this much more flexible than the pick lists / validation built into Cardbox. Do remember to add a sort field in the Lexicon database to force it to sort the items in the order you want. I think the basics are in the Macro and Programming Manual. Good luck with your project |
bert | 30-Jul-2008 15:00 Hi Bernard, |
Mary Doyle (DAF) | 30-Jul-2008 15:33 Hi Bert, We use a separate database because we can include notes about the term being used. Also we use keyboard shortcuts so we don't have to click - I try and discourage people using the mouse - I have even penned a document entitled "The Mouse Trap - how not to use the mouse and avoid RSI"! I have taken on your idea, though, of entering the first few letters of the term we are looking for before hitting F9 to go off to find it. It speeds it up a little. So thanks for that. Mary |
Charles Welling | 30-Jul-2008 18:40 If anyone is interested: I use a separate thesaurus database which I made in Cardbox (of course). The thesaurus includes preferred terms, non-preferred terms, broader terms and narrower terms, meronyms and holonyms and similar relationships for placenames and persons. You can easily create your own types of links without having to change the macros. The maintenance macro does almost all things that a real thesaurus programme does. etc. etc. Users have a special format that can be easily searched/browsed and terms are automatically inserted in the main database on hitting a single button. Scope notes and images are included as well. The maintenance macro is fully documented for, you may have guessed, easy maintenance. For those who are REALLY interested I'm willing to write a short manual and of course you can have the format and macros. Charles |