What would be the best way to use a list in a textarea to compare to values in a column in a database table?

I'm trying to move a table from a MS Access database to a datasource online so I don't have to be the only one that can perform a specific task.
Right now I regularly am having to assess change requests to determine if it impacts the servers my team supports.  Currently I copy and paste the text list into a temporary table in MS Access then hit a button to run a query comparing what was in that list to my server inventory.  Works fine but now I need to move this online so others can do this in a place where we can also keep everyone using the exact same inventory and am planning on using a ColdFusion server.
So what I believe would be easiest is to create a form that has a textarea where I can just copy and paste what is in the change request and then hit a submit button and go to the next page where it would list all the servers that matched (with all the other info I also need).
Almost always the info would hit the textarea with a separate row for each server with no other delimiters, etc.
Example info in textarea:
servername1
servername2
servername3
What is the best/easiest way in the SQL code on the following page to take the values from the textarea the way they are listed and return results of any that match the server name column from that list?  What CF functions and SQL coding are needed?
I've done something in the past where I did WHERE Server IN (#PreserveSingleQuotes(Form.ServerList)#)...
But I had to input 'servername1', 'servername2', 'servername3' in the text box and with how often we'll be copying lists as show above from a text area or from an excel column I'd really like a way to get from the example above to the results I need without having to manipulate.  Sometimes the list I'm comparing against may be 300+ servers and adding that formatting is not desirable.
Any help would be appreciated.

So here is a solution I came up with
<cfoutput>
<cfset Servers="#StripCR(Form.ServerList)#">
<cfset Servers2="'#Replace(Servers, "
", " ", "All")#'">
<cfset Servers3="#ToString(Servers2)#">
<cfset Servers4="#Replace(Servers3, " ", "', '", "All")#">
</cfoutput>
Then in the cfquery SQL I used
WHERE Server IN (#PreserveSingleQuotes(Servers4)#)
Right now this is working but it seems very cumbersome.  If anyone can come up with a way to simplify this please let me know.

Similar Messages

  • Does Adobe Reader for iOS have the ability to open inbedded links to additional PDF docs?  If not, then what would be the best way to use these already created PDF's?

    Does Adobe Reader for iOS have the ability to open inbedded links created with Acrobat Standard to additional PDF docs?  If not, then what would be the best way to use these already created PDF's on an I Pad?

    driddy61,
    As of June 2014, none of the Adobe Reader mobile products support the hyperlink action for opening a separate PDF document.
    Adobe Reader for iOS
    Adobe Reader for Android
    Adobe Reader Touch for Windows 8
    In addition, the Reader mobile products do not open multiple windows/documents simultaneously, which would make the navigation between PDF documents nearly impossible. (Once a hyperlink takes you to a different PDF document, you have no way to go back to the original PDF document.)
    The only Adobe Reader product that fulfills your department's requirements is Adobe Reader XI (mostly for Windows/Mac desktop/laptop computers).  Acrobat Pro and Standard are paid products.
    Because you are in search of a less expensive device for your department, you could get a Windows tablet instead of a Windows desktop/laptop computer. Microsoft Surface Pro (that you've mentioned in your previous reply) is just one example.  You can also find other less expensive Windows tablets.
    Tablets
    However, please keep in mind that there are two different types of Windows tablets running two different operating systems.
    (a) A Windows tablet with an Intel-based processor running Windows 8.1 Pro
    Example: Surface Pro 3
    You can install and run traditional desktop apps (e.g. Adobe Reader XI) and new Windows Store apps ("Modern" or "Metro-style" apps).
    (b) A Windows tablet with an ARM-based processor running Windows RT 8.1
    Example: Surface 2
    You can only install and run Windows Store apps (e.g. Adobe Reader Touch) but not traditional desktop apps like Adobe Reader XI.
    In general, type (b) tablets are more affordable than type (a) tablets.  However, if you want to run Adobe Reader XI, you do need to check the technical specification of each tablet and make sure the following conditions are met.
    Processor: Intel
    Operating system:  Windows 8/8.1 or Windows 8/8.1 Pro, not RT
    Hope this helps you choose the right device for your department.  Please let us know if you have any questions about system requirements or supported features in the Adobe Reader products.

  • What's is the best way to use iPhoto? I need to understand.

    What's is the best way to use iPhoto? I need to understand.
    I guess the iPhoto is only for people with 5,000 of personal photos.
    Or even 200,000, but they can't use this app everyday.
    I'm not talk about working as a photographer. They use Aperture.
    They may use iPhoto like a family album that you take a look sometimes.
    And don't care about putting photos from the camera or from internet everyday.
    I have tons of music and I love iTunes 8, works great. So I tried but I can't stand iPhoto anymore.
    I have over 173,000 photos. My goal is organize, have total control, crop in Preview and delete them fast as I can.
    The iPhoto is too slow. And is not only about performance, more RAM... but the whole concept.
    Finder is much better/richer/flexible to organize than iPhoto.
    I'm not talking about the photographer workflow.
    And I'm not talking about editing and all these great photo features, the search, and all the iLife environment. They are amazing.
    When I'm iPhoto, I feel like a prisioner.
    I can't open an album/folder/event alone just to take a look, without do lanch the iPhoto app with the all thousand photos together. And it's slow.
    I can't use Quick Look there.
    So, I'll use Finder for manage/crop/etc. But what's the best way to use iPhoto in my case? Put the best/key ones there to use in iLife/MobileMe? To do a more serious editing? I like the features: keywords/ratings/hidden photos/events... It would be cool this features in Finder.
    For example:
    iMovie: Manage movies? NO. It's editng only.
    iTunes: Manage music/small video/podcast...? OK. Editing the song? OK for tags/convert/artwork/equalizer... For music there's a GarageBand of course.
    iPhoto: Manage photos? Yes and No.
    I think Finder would kill iPhoto incoporating all the editing features in Preview and the rich manage in Finder.
    Jobs said that no one care about iDVD anymore. They care about the web.
    Using iMovie to export to MobileMe.
    Maybe iPhoto become less important in a near future. With a better Finder+Preview Right?
    Sorry for this long text with a short question.
    Thanks.

    Your post demonstrates exactly why I keep saying that iPhoto is not the application for you.
    It would be better an iPhoto organizing photos by words like when iTunes browse his music.
    Why on earth would anyone want to organise photos by words? A list mode is entirely pointless in a Photo application. That's like having an old photo album organised with the photos facing inwards so you can read the back of the picture.
    Again, this is a characteristic of a File browser. You don't want a Photo organiser, you want a file organiser.
    And, in iPhoto, you can search by tags, effortlessly in either the search box or by using a Smart Album.
    iPhoto always loads all that events and all the thumbs library to scroll, and I think it's overkill.
    So, how is iPhoto to know which ones you want to work with today? Open a library, get the Library.
    Would be better a Cover Flow option to browsing in Events.
    You've obviously never tried scrubbing along the Event icon.
    Imagine iTunes using Cover Flow mode all the time. It won't be too useful.
    Many, many people do, including myself on a library of 20k tracks totalling more that 100 gigs, and find it very useful. Same with the Finder.
    And if when iTunes Store starts to sell photos?
    Why on earth would the iTunes store start to sell photos?
    My photos are not junk,
    I didn't say there were. Read my post again.
    When I said Finder to crop photos I mean Preview. But I feel in Finder. Because what's in Preview? A photo opened with a Preview's menubar and some cocoa APIs like adjustments. Not?
    Oh, so you don't count Preview as an application. Fine. It is an application but you don't feel it. As you wish.
    My point to you is very simple: Because of the way you want to organise your pics - using lists views and so on - iPhoto is not the application for you. Don't use it. But you keep writing things about the application that are untrue, and I'm aware that other folks search these forums and I don't want them to have inaccurate information about iPhoto.
    Regards
    TD

  • I have a 15' Macbook Pro, mid 2010 running Mavericks. I want to upgrade the hardware by increasing the RAM to 8GB and replacing the HD for a SDD one. What would be the best way to install mavericks on the new HD? I have the original OS X CD.

    I have a 15' Macbook Pro, mid 2010 running Mavericks. I want to upgrade the hardware by increasing the RAM to 8GB and replacing the HD for a SDD one. What would be the best way to install mavericks on the new HD? I have the original OS X CD.
    From what I read, I have 2 choices: 1. to install OSX and then upgrade to Mavericks, but I'm not sure if this would be possible (to upgrade directly from OSX to Mavericks); and 2. to use a software called Super Duper.
    I wouldn't like to have to use a third party software to do this, so the question is: is there a better way to install directly the Mavericks not having to use a third party software?

    Install the new drive in the computer.
    Install the old drive in an external USB or Firewire enclosure.
    Boot the computer from the Recovery HD on the external drive.
    Use Disk Utility to partition and format the new internal drive.
    Clone your external drive to the internal drive.
    How to replace or upgrade a drive in a laptop
    Step One: Repair the Hard Drive and Permissions
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger, Leopard or Snow Leopard.) After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    Step Two: Remove the old drive and install the new drive.  Place the old drive in an external USB enclosure.  You can buy one at OWC who is also a good vendor for drives.
    Step Three: Boot from the Recovery HD on the external drive.  Restart the computer and after the chime press and hold down the OPTION key until the boot manager appears.  Select the icon for the Recovery HD then click on the downward pointing arrow button.
    Step Four: New Hard Drive Preparation
      1. Open Disk Utility from the main menu and click on the Continue button.
      2. After DU loads select your new hard drive (this is the entry with the
          mfgr.'s ID and size) from the left side list. Note the SMART status of
          the drive in DU's status area.  If it does not say "Verified" then the drive
          is failing or has failed and will need replacing.  Otherwise, click on the
          Partition tab in the DU main window.
      3. Under the Volume Scheme heading set the number of partitions from
          the drop down menu to one. Set the format type to Mac OS Extended
          (Journaled.) Click on the Options button, set the partition scheme to
          GUID  then click on the OK button. Click on the Partition button and
          wait until the process has completed.
      4. Select the volume you just created (this is the sub-entry under the
          drive entry) from the left side list. Click on the Erase tab in the DU main
          window.
      5. Set the format type to Mac OS Extended (Journaled.) Click on the
          Options button, check the button for Zero Data and click on OK to
          return to the Erase window.
      6. Click on the Erase button. The format process can take up to several
          hours depending upon the drive size.
    Step Five: Clone the old drive to the new drive
      1. Using Disk Utility still opened.
      2. Select the destination volume from the left side list.
      3. Click on the Restore tab in the DU main window.
      4. Check the box labeled Erase destination.
      5. Select the destination volume from the left side list and drag it to the
          Destination entry field.
      6. Select the source volume from the left side list and drag it to the
          Source entry field.
      7. Double-check you got it right, then click on the Restore button.
    Destination means the new internal drive. Source means the old external drive.
    Step Six: Open the Startup Disk preferences and select the new internal volume.  Click on the Restart button.  You should boot from the new drive.  Eject the external drive and disconnect it from the computer.

  • What would be the best way to trigger a series of cascading SPD workflows ?

    I have a request to have security setup on a series of folders..
    but the start of the security has to wait until the new site workflow is completed,  then once the site is available then the next workflow sets the security on the 1st folder  then once the security WF on the 1st folder is completed, then the
    2nd workflow starts,  and sets up the security for the 2nd folder, then once that workflow  is done then the 3rd folders security workflow is triggered and security is setup , then the 4th WF starts once the 3rd WF is completed, and then the security
    is set on the 4th WF, and then once it is completed then the 5th WF is started... this pattern continues until the last folder security is setup and then the WF to email me is triggered..
    basically they go like this
    1WF  > 2WF > 3WF > 4WF > 5WF > 6WF > 30Wf completed cycle of Security Setup
    What would be the best way to set this up to have the series of workflows trigger after a WF is completed

    Hi,
    According to your post, my understanding is that you want to trigger a series of cascading SharePoint workflows.
    You need to set parameter: Processed = No/false in each workflow to trigger the next one.
    It is similar to the For Each loop workflow in SharePoint 2010.
    For more information, you can refer to:
    How-To: For Each loop with SharePoint Designer 2010 Workflows to update multiple items
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • My wife has gave me her old ipad what would be the best way to set up her new ipad and to have my own ID?

    My wife has gave me her old ipad what would be the best way to set up her new ipad and to have my own ID?

    Backup the old iPad first, either to itunes or iCloud.
    Once that is done, setup the new iPad from the backup. Choose the Restore from Backup option when setting up the new iPad.
    iOS: How to back up /  Restore
    http://support.apple.com/kb/ht1766
    When that is done, wipe the old iPad clean and set up as new.
    Settings->General->Reset->Erase all Content and Settings
    You can create a new Apple Id when you set up the iPad again.

  • HT3231 how do i   TRANSFER MY PHOTOS AND VIDEOS FROM MY MAC PRO POWERBOOK G4 TO MY NEW MACBOOK PRO,  WHAT WOULD BE THE BEST WAY,  THANKS

    I HAVE A MAC POWERBOOK G4 AND WOULD LIKE TO TRANSFER MY FILES, PHOTOS AND VIDS TO MY NEW MAC PRO,  WHAT WOULD BE THE BEST METHOD??  THANKS ROB

    I think the easiest way is to use a firewire cable (you will need on like this: http://www.google.com/products/catalog?q=Firewire+400+to+800+cable&oe=utf-8&rls= org.mozilla:en-US:official&client=firefox-a&um=1&ie=UTF-8&tbm=shop&cid=120962573 04625337030&sa=X&ei=PytQT9r4NtOBsgL9s_C6Dg&ved=0CHYQ8gIwAA).
    Power up the Power Mac G4 and hold the "T" key while it is booting (this puts the G4 notebook in Firewire Target Disk mode).  Connect the G4 notebook to the newer MacBook Pro and use the Migration assistant (/Applications/Utilities) OR browse through the files and copy what you want.

  • What would be the best way to install Arch, if I have Broadcom wifi?

    I can boot into an Arch USB disk, but I can't connect to the Internet, since my laptop doesn't have ethernet and the wifi card is Broadcom, which requires the `broadcom-wl` package. What would be the easiest way of proceeding with this install? On IRC, I was advised to either: (1) boot into another distro, connect to the Internet there, then chroot into the Arch USB image, and download the additional packages from there, or (2) download the `broadcom-wl` package from the AUR, and a build environment, transfer these files to the USB system, and then compile and install the module there. Both of these solutions seems rather complicated to me. With (1), I was having difficulty mounting the arch .img as a drive using Ubuntu, since Ubuntu's `mount` command needs a filetype, and didn't seem to like any of the filetypes I tried. With (2), I have a feeling this would be fairly complicated--I'm not sure which binaries I can install for my system, or how to install packages that I downloaded offline.

    I was having difficulty mounting the arch .img as a drive using Ubuntu, since Ubuntu's `mount` command needs a filetype
    Not sure what you mean?
    I too had issues with my internet, eventually I installed arch from Ubuntu. I used bootstrap image and it worked as advertized in the wiki.
    EDIT: If you using Ubuntu then don't forget to create '/run/shm' otherwise pacstrap will fail.
    Last edited by fantab (2014-10-29 04:17:46)

  • I would llike to place all my content in one location and view, use or share it on my Apple devices as needed. What would be the best way to set that arrangement up?

    I would like to place all my content in one location and share and move it as needed to my various apple devices. What's the best way to do it?

    Hi,
    I would suggest that is going to be an involved and complex process.
    I would personally look into some of the invoicing and time scheduling software available and see if any fit your needs.
    Take a look here: http://www.tuaw.com/2008/07/30/app-roundup-timekeeping-and-billing/
    and here: http://www.tuaw.com/2008/07/31/app-roundup-timekeeping-and-billing-part-ii-the-q uickening/
    for starters.
    Best wishes
    John M

  • I've been using older printers (including an imagesetter) connected to10.5.8  With a new 10.6 machine I'm looking to still use the printers. I can use the olderG5 as a sever if need be. What would be the best way to do this?   ine

    I've replaced my 10.5.8 with another machine 10.6.8 which as we know doesn't support Apple Talk which has been used to print to 2 bulletproof older printers and an imagesetter. I wan't to keep using the printers and can use the 10.5.8 as a server. What is the best way to do this?

    Hi
    You could do this a number of ways. Using the LPD Daemon might work best for your location?
    First: assign the machine you're going to use as the 10.5.8 'server' a fixed IP address.
    Second: add desired printers to that machine using the usual methods.
    Once added share them using the Print Sharing option in the Sharing Preferences Pane. On the 10.6.8 machine add the printer using the IP address of the 10.5.8 'server'.
    System Preferences > Print & Fax and click the '+' icon. Click on the IP Icon and key in the IP address you previously assigned. Leave the Queue field alone and select the relevant PPD from the Print Using field (see below). You'll have to search for these yourself.
    You don't have to 'install' the PPDs on the 10.6.8 machine as such. Simply copying them over from their location on the 10.5.8 machine (use a memory stick to do the transfer) to the same location on the 10.6.8 machine will be enough.
    There should be no need to restart.
    HTH?
    Tony

  • I Need to build a database/booking and dispatch system that intergrates with iCal, Address Book and all Apple device's What would be the best Way.

    Hi
    Can anyone give me some useful information on the best ways to design and build a database/booking & dispatch system that can be intergrated through ical, address book and available on my macbook, ipad & iphone and all accessed through icloud.
    I started my own chauffuer Service a year ago as an independent. it's becoming a massive bore that most of my time is spent taking down information, checking if i am available for clients and with alot of diary checking and repeatative entries and email ping pong and invoicing, what i want to do is concerntrate on advertising and marketing and using my time off for R & R
    What i would like to do is access my information in an app and automate most of the processes like
    assigning the job to the client with intergration through iCal and Address Book
    be able to email confirmation through mail with an invoice produced through numbers or excel
    payment is already done through payleven mobile and must be done in person so i'd rather keep that seperate to all processes apart from a tick box to say it has been paid for.
    I have been looking at all options  FileMaker, Bento, Automator, Apple Script. to be frank im no expert and am a little confused as to what to do any advice would be greatly recieved.

    Hi,
    I would suggest that is going to be an involved and complex process.
    I would personally look into some of the invoicing and time scheduling software available and see if any fit your needs.
    Take a look here: http://www.tuaw.com/2008/07/30/app-roundup-timekeeping-and-billing/
    and here: http://www.tuaw.com/2008/07/31/app-roundup-timekeeping-and-billing-part-ii-the-q uickening/
    for starters.
    Best wishes
    John M

  • What would be the best way to change the color of part of this image? (image attached)

    I am on XP using PS CS4.
    Please see the photograph below. I would like to change the color of the shirt/apron of this lady & I was wondering what the best way is to do that. I know if I try replace color, the white bowls change color as well. In the past I have isolated parts of images using paths, but I wanted to know if that was the most efficient way. Maybe masking is the answer. I just wanted to hear from the pros
    Thank you.

    You're welcome!
    Refine Edge button is in the options bar when the QST is active.
    Refine Mask should be available whenever a mask is targeted.

  • I want to get good wifi in my house . I currently have a time warner modem/router separate from my phone modem but my upstairs does not get good reception. What would be the best way to get the best wifi if I started from scratch

    I have a combination modem/router from time warner that is separate from my phone line but I get bad reception on my apple tv an ipads upstairs in my house. I would like to fix this and want to know the best way to go about it . Whether getting two modems and routers or just one base station. Please help

    It is possible to extend a WiFI network using Apple's Airport Express, Airport Extreme Base Station, or even a Time Capsule. However  the router that is creating the network (the one you have downstairs) must be configurable to permit another WiFi device to extend the network. All Apple WiFi routers can be configured that way, but there are many third party WiFi routers that cannot. The two routers can be connected wirlessly or by ethernet. From your description I suspect ethernet would be prefereable if yoiu had a good way of routing the cable.

  • I have a collection of movies on Excel (Windows) that I want to transfer to my Mac. What would be the best software to use. Should I buy Numbers 09 or should I use another application?  Is the transfer easy? Thank you for your help.

    I have a collection of movies on Excel (windows) that I want to transfer on my Imac .  What would you suggest I suse for application? Numbers 09 or any othe suggested application?  Is the transfer easy to do?

    Hello Claude,
    The free Open Office...
    http://porting.openoffice.org/mac/download/index.html
    Can read Excel & Word files.

  • What would be the best way to have a man pull down a (AE CS6 designed) banner?

    I have keyed footage of a guy pantomiming pulling down a banner, but I can't for the life of me get it to look right.... He is using both hands, facing the camera he reaches up and pulls it down, I am trying to make it look slightly realistic, with wrinkles and warping near the hands... I've tracked points on his hands, and have parented two Nulls to them...
    I was trying to using something like Zaxwerks Warps, or Flags, but I can't get it to accomplish what I'm going for...
    How would you go about doing something like this?
    Thanks all!

    Forge Freeform comes to mind first because I use it a lot. I'd use a displacement map that instead of trying to animate a mesh.
    I'd also shoot some footage of someone grabbing something similar so you can judge how it should look. Even a quick movie shot with a phone of someone grabbing a towel would give you a sample to look at. If shooting test footage of each other out behind the studio was good enough for Disney animators working on Snow White it's good enough for me.

Maybe you are looking for

  • How to open .divx files and AC3 codecs?

    Hi, I am new at Macbook. I just got it one week ago, and i dunno how to use it, but I love my mac... My question is how can I play .divx files, and some of the movies I have coded with ac3, so how can I play them? thanks,

  • I deleted my game by accident

    I was clearing out my computer of old stuff and i accidently deleted my Vortex game for my iPod. i cleared the trash and then realized what i had done but now i don't know if i can get it back. ps. it wasnt deleted just off of itunes, but off my comp

  • I have to enter the winxp cd to boot from s-ata drive

    Yes! Really O_O First with the drivers included on the sata disk, win xp wouldn't even install properly. Then my brother downloaded some new ones from the webbie and then I could get through the initial setup of windows xp. So everything worked then

  • Oracle 9i and Pro*Cobol

    We are in the process of Database upgrades and a pro*cobol program which was working in HP UX 11 / Oracle 7.3.4 was not working in HP UX 11 / Oracle 9i. We are getting the following error when trying to compile it (make) - sh: 11139 Memory fault(core

  • IPhone 5 shuts down without warning

    My iphone 5?will power down even when fully charged, for not apparent reason. Any guesses?