Help - what is the command

I dynamically generate textboxes, so they all have the same
name. There are ten boxes in all. I know it outputs the checked
boxes in a comma deliminted string, 1,2,3,4....etc. If checkbox 4
was one of the boxes selected, I need to do a cflocation to
redirect to another. I was using cfif checkbox_id = "4" but that
only works if that was the only box selected.
If the other boxes were seleced in addition to box 4, the
ciffi does not work, so what is the proper command to check if 4 is
in the list ?
For the life of me, I cannot remember and I know I have done
it before. I know sql query is in (1,2,3....), but what is the cf
command ?
Thanks

Hi Fober1, thanks for the reply
<cfset boxes="4,5,7">
<cfif listfind( boxes, "1" ) GT 0>
found3
</cfif>
Boxes contains the list of the values of the checkboxes that
were checked, and listfind finds if the first checkbox, value 1 is
in the list, which means it was checked. and GT 0 means that it was
found/in the list ?

Similar Messages

  • What is the command to check the changes in the spanning-tree topology?

    What is the command to check the changes in the spanning-tree topology?

    Hi,
    Few commands which would help are:
    1- Show spanning-tree detail
    2-show spanning-tree detail | in ieee|from|occur|is exec  >> This will give from were the changes occuring- Ex:
    C6K1#show spanning-tree detail | in ieee|from|occur|is exec  
     VLAN0001 is executing the rstp compatible Spanning Tree protocol
      Number of topology changes 9536 last change occurred 00:00:29 ago
              from GigabitEthernet4/6
    3- show spanning-tree active  *& show spanning-tree root >> Will give you the root information.
    4-  show spanning-tree inconsistentports >> If there are any port which are inconsistent state due to STP features.
    STP running MST:
    ===============
    show spanning-tree mst configuration  >> Need to check and match the same outputs with the other switches running in the same MST domain/region.
    show spanning-tree mst detail
    show spanning-tree mst <name of the region>
    Debug on STP:
    ============
    debug spanning-tree events/bpdu >> would be good but to be run with more cautious.
    HTH
    Inayath
    *Plz rate if this info is usefull.

  • What is the Command to disable Printer Sharing via the Terminal?

    What is the Command to disable Printer Sharing via the Terminal?

    cupsctl is the command.
    man cupsctl(8)
    Hope that helps.

  • What are the commands to add and enable signature of attacks in ASA?

    What are the commands to add and enable signature of attacks in ASA when testing in GNS3?
    or this function can only be tested by add virtual client such as window xp and install a software ASA ?
    if have commands, how to list the signatures available in command?
    how to test these functions by using penetration tools?

    Sir, Downloaded from HP Official Site 
    Type: BIOS Version: F.50 Rev. A(4 Aug 2014) Operating System(s): Microsoft Windows 7 Professional (64-bit) | File name: sp68040.exe (7.7 MB)
    My Laptop Model No. 4530s is not compatable for the following two options, then resort the last option.  Made bootable USB key with the help of Rufus application MS DOS option. When I reboot, some terminal type opened  to run commands.  Please help me the easiest and safest way for this model of Laptop
    This package includes several methods for updating the BIOS version as follows:
    - Use the HPQFlash Utility to update the BIOS directly in a Microsoft Windows Operating System environment.
    - Use System Software Manager (SSM) to update the system BIOS on PCs in a network.
    - Create a bootable USB Key to update the system BIOS.
    Thanks and Regards
    Enesbe

  • What are the commands available to read a file from application server and

    What are the commands available to read a file from application server and store the file into an internal table?

    Hi,
    To read a file from an Application Server to an Object there is a command in ABAP called <b>READ DATASET</b>. After that file is transported to that object you have to do a loop and put that data in an Internal Table.
    This statement exports data from the file specified in dset into the data object dobj. For dobj, variables with elementary data types and flat structures can be specified. In Unicode programs, dobj must be character-type if the file was opened as a text file.
    For dset, a character-type data object is expected - that is, an object that contains the platform-specific name of the file. The content is read from the file starting from the current file pointer. After the data transfer, the file pointer is positioned after the section that was read. Using the MAXIMUM LENGTH addition, the number of characters or bytes to be read from the file can be limited. Using ACTUAL LENGTH, the number of characters or bytes actually used can be determined.
    In a Unicode program, the file must be opened with an arbitrary access type; otherwise, an exception that cannot be handled will be triggered.
    If the file has not yet been opened in anon-Unicode program, it will be implicitly opened as a binary file for read access using the statement
    OPEN DATASET dset FOR INPUT IN BINARY MODE.
    . If a non-existing file is accessed, an exception that can be handled can be triggered.
    Influence of Access Type
    Files can be read independently of the access type. Whether data can be read or not depends solely on the position of the file pointer. If the latter is at the end of the file or after the file, no data can be read and sy-subrc will be set to 4.
    Influence of the Storage Type
    The import function will take place irrespective of the storage type in which the file was opened with the statement OPEN DATASET.
    If the file was opened as a text file or as a legacy text file, the data is normally read from the current position of the file pointer to the next end-of-line marking, and the file pointer is positioned after the end-of-line marking. If the data object dobj is too short for the number of read characters, the superfluous characters and bytes are cut off. If it is longer, it will be filled with blanks to the right.
    If the file was opened as a binary file or as a legacy-binary file, as much data is read that fits into the data object dobj. If the data object dobj is longer than the number of exported characters, it is filled with hexadecimal 0 on the right.
    If the specified storage type makes conversion necessary, this is executed before the assignment to the data object dobj. Afterwards, the read data is placed, byte by byte, into the data object.
    System Fields
    sy-subrc Meaning
    0 Data was read without reaching end of file.
    4 Data was read and the end of the file was reached or there was an attempt to read after the end of the file.
    Thanks,
    Samantak.
    <b>Rewards points for useful answers.</b>

  • What are the commands using in SAP ECC 6.0 ehp on SYBASE Database? Backup and restore commands?

    Hi All,
    What are the commands using in SAP ECC 6.0 ehp on SYBASE Database? Backup and restore commands?

    Hi Jayachander,
    Have a look at these sap notes:
    For taking backup: Schedule from DB13 and get the exact command from Logs
    1841993 - SYB: How to schedule backups in DBA Cockpit
    1887068 - SYB: Using external backup and restore with SAP Sybase ASE
    How to restore DB
    1611715 - SYB: How to restore a Sybase ASE database server (Windows)
    Divyanshu

  • What is the command to verify the configuration that are not saved or sent to local controllers?

    Q: What is the command to verify the configuration that are not saved or sent to local controllers?
    A: We can execute the command that is shown in below image to check the status of the configuration that has been made.
    Note: For example I made changes to the default VAP profile and executed the command "show master-configpending" which shows the pending configuration to be saved/sent to local controllers.

    But that jar file loads without images and icons when it is in other directory.Images should be accessed via a URL rather than using a filename because they will exist as entries in the jar archive not as files. Typically this URL would be obtained by using the Class method [getResource()|http://java.sun.com/javase/6/docs/api/java/lang/Class.html#getResource(java.lang.String)]. There are details in this [Java World article|http://www.javaworld.com/javaworld/javaqa/2002-11/02-qa-1122-resources.html].

  • I am trying to connect my iMac with my MacBook What is the command keys and process in doing so. Have firmwre in place.

    I am trying to connect my iMac with my MacBook What is the command keys and process in doing so. Have firmwre in place.

    Here's the Apple Support article on Target Mode http://support.apple.com/kb/HT1661

  • I want to upload multiple pictures what is the command on my keyboard?

    I want to upload multiple pictures to an email. What is the command on my keyboard???

    Selecting multiple items (pictures, files etc.) is pretty standard across most apps.  To select a block of items click on the first then shift-click on the last.  To select multiple non adjacent items click on the first then command-click on each of the remaining items.  You can then do copy/paste, drag/drop or whatever other command may be appropriate for the app you are using.

  • What is the command to look at process at os level ?

    what is the command to look at process at os level ?

    Do you want Dispatcher processes or else all sap related processes?
    Any ways:
    Try with this:
    ps -ef/grep XXXX/grep DEV..here XXXX..give process name
    If you want for all then just go with ps -ef/grep DEV
    If you want to have cpu utilization then just go with
    TOPAS cmd ....
    Use dpmon for a single dispatcher.
    Satish

  • Having dowanloaded Yosemite, I find that I can' enlarge the print on the Help pages.   The Command  keystroke does n`t seem to work.   Any body any ideas as to haw to do it in the new OS X ?

    Having downloaded Yosemite, I find that I can't enlarge the print on the Help pages.   The 'Command +' keystroke doesn't seem to work.   Anybody any ideas as to how to do it in the new OS X 10.10 ?

    Hi ..
    Command + T should definitely work.
    Restart your Mac then try again.
    If that doesn't help, a Safe Mode boot deletes some system caches that may help after an OS X upgrade.
    Top left corner of your screen click the  Apple   > Shut Down.
    After your Mac shuts down, wait 10 seconds, then press the power button.
    Immediately after you hear the startup tone, hold down the Shift key. You should press the Shift key as soon as possible after you hear the startup tone, but not before.
    Release the Shift key when you see the gray Apple logo and progress indicator.
    Once you are in Safe Mode, go back to the Apple  menu. From the drop down menu click:  Restart
    Then try enlarging the text in a Help window.
    About Safe Mode.

  • HT1391 what is the command to copy and also the command to paste?

    What is the command to copy and paste something?

    In Mac OS X, press the Command and C or V keys.
    (87331)

  • HT1343 What is the command to turn my screen from a positive white background to a negative black background

    What is the command to change my screen from a positive (white background) to a negative (black background)  Is the command the same for
    mac book as it is for the imac?

    Option-Control-Command-8, or the setting on the Display pane of the Universal Access system preference. It's the same for all computers running Snow Leopard.
    Regards.

  • What are the commands in smartforms

    hi gurus
    can anyone suggest me
    what are the commands in smartforms
    thank you
    regards
    kals.

    Hi,
    Check the below link for complete information on smartforms
    [SMARTFORMS|http://sapabap.iespana.es/sapabap/manuales/pdf/smart.pdf]
    Regards,
    Chandru

  • What is the command to check if there are any active calls before restarting the voice router?

    what is the command to check if there are any active calls before restarting the voice router? thanks

    Hi.
    I can suggest show call active voice or show voice call status or show sip-ua call brief in case of SIP TSP.
    HTH
    Regards.
    Carlo

Maybe you are looking for

  • RoboHelp 8  - All files are not transferring over

    When I upgrade a file to RoboHelp 8, the file does transfer over; however, the contents within that file does not come with it.  RoboHelp will show the Icon with the name of the file.  So, there is no table of contents. Is there a remedy to this?  Ho

  • How do I back up my calendar so I do not lose the info?

    Howdy, I recently aquired ipod touch. I love the calendar. I now keep all my appointments on my ipod. I am a massage therapist & I need to back up my calender for my personal records. Otherwise I will need to go back to pen & paper calenders. What is

  • How to use web services with Dynamic url behaviour

    Hi, IView created by me currently uses some web services whose url behavior is static but i want to give a dynamic url behavior. i.e. i want to use the url which user provides. So here are my questions 1. How I shall assign the url supplied by the us

  • IPhone and iCloud Problem

    From my iPhone, I'm not able to go to icloud.com and log in as is possible on a computer. I get a page that asks if I want to set up iCloud, even though it is already set up on the phone. Has anybody experienced this? Any clue what is going on? Apple

  • SSIS Auditing on Table

    Hi  I need to record insert & update changes made to a SQL 2005 table with no primary key, is this possible? The logging events in SSIS seem related purely to validation, execution and errors. Thanks