How do I put this output into a table ?

I query a table and output using the following :
<cfoutput query="qryAreas"
group="state">#state#<br>
<cfoutput
group="city"> #site#<br><cfoutput>  #zipcode#<br></cfoutput><p>
</cfoutput>
</cfoutput>
Since this is dynamic, the output gives me one column all the
way down to the end of the page/screen.
How do I dynamically output this into a table with two or
three columns, displaying the same data as above ?
I can probably do individual queries and put each one into a
<td> but there has to be a better way to do this
dynamically.

My current output, without table, list the first state, then
the first city under that state, then all zipcode for that city. It
then list the second city for that state and all zipcodes for that
city, When all the cities are exhausted for that state, it skips a
line and then lists the next state, city, etc., and starts the
process all over again. It gives me one column to the end of the
screen.
So for each td, I would like to have the state, the cities
and zipcode, then the next td would have the next state, all cites
and zipcodes, etc. I would not know how many states are in the
table, so each td should contain a state.

Similar Messages

  • How can I turn this output into a variable

    I have a script to query all the servers in AD
    Import-Module active*
    $rtn = $null
    Get-ADComputer -Filter {operatingsystem -like "*server*"} |
    ForEach-Object {
    $rtn = Test-Connection -CN $_.dnshostname -Count 1 -BufferSize 16 -Quiet
    IF($rtn -match 'True') {write-host -ForegroundColor green $_.dnshostname}
    I want to make the output a variable
    Easy way would be:
    $Servers = Get-ADComputer -Filter {operatingsystem -like "*server*"}
    Problem is this would waist time waiting for queries against disabled/powered off machines to error out
    I don't know how to use if statements in variables

    Hi,
    You can do something like this:
    $aliveServers = @()
    Get-ADComputer -Filter "OperatingSystem -like '*Server*'" | ForEach {
    If (Test-Connection -ComputerName $_.Name -Count 1 -Quiet) {
    $aliveServers += $_
    $aliveServers | Sort Name
    Don't retire TechNet! -
    (Don't give up yet - 12,950+ strong and growing)

  • How do i put multiple albums into one huge album collection?

    How do i put multiple albums into one huge album collection?
    Some examples include: Linkin Park - Studio Collection, Michael Jackson - The Indisposable Collection

    Hi skullkrunch3r,
    Thanks for visiting Apple Support Communities.
    If you "Get Info" on the tracks that are part of your collection, you can use the Compilation option in iTunes.
    In iTunes 8 and later, you find the option to mark multiple items as "Part of a compilation" in the Options tab of the Multiple Item Information window.
    See this article for more information on marking your albums as part of a compilation:
    Why aren't songs with the same album art grouped together?
    http://support.apple.com/kb/TS1468
    Best Regards,
    Jeremy

  • How do I put a logo into the address line of my browser?

    How do I put a logo into my site so that it shows up on the browser address line at the top of the page?

    Create a favicon.ico file and put it in the root folder, use this site to make one from an existing image file
    Flush your browser cache, it won't appear right away but will show after a few loads

  • How do you put a flashdrive into a computer? What if it's not working?

    How do you put a flashdrive into a iMac desktop? What if it's not working?

    Is it a new flash drive?
    Used on another machine?  What os on this machine?
    Do you get any error messages?
    Should appear as an icon on the desktop.
    finder > preferences

  • TS1463 how do you put the ipod into disk mode

    how do you put the ipod into disk mode

    iPod nano (7th generation)
    Before placing the iPod into Disk Mode, verify that it has a charge.
    Reset the device by pressing the Sleep and Home buttons simultaneously until the display turns black. This should take about eight seconds.
    When the display turns black, press and hold the Volume Down and Volume Up buttons simultaneously until the device enters Disk Mode.
    iPod nano (6th generation)
    Before placing the iPod into Disk Mode, verify that it has a charge.
    Reset the device by pressing the Sleep and Volume Down buttons simultaneously until the display turns black. This should take about eight seconds.
    When the display turns black, hold down the Volume Down and Volume Up buttons simultaneously until the device enters Disk Mode.
    iPod devices with a Click Wheel
    If necessary, verify that your iPod has a Click Wheel.
    Before placing the iPod into Disk Mode, verify that it is charged.
    Toggle the Hold switch on and off (set it to Hold, then turn it off again.)
    Press and hold the Menu and Select buttons for at least six seconds, until the Apple logo appears.
    When the Apple logo appears, release the Menu and Select buttons and immediately press and hold the Select and the Play/Pause buttons until the Disk Mode screen appears.
    Connect the iPod to your computer; the screen on the iPod will should say "Do not disconnect".
    If you are having difficulty putting your iPod into Disk Mode, set it on a flat surface. Make sure that the finger pressing the Select button is not touching the Click Wheel. Also make sure that you are pressing the Play/Pause button toward the outside of the Click Wheel and not near the center. If you are still unable to put your iPod into Disk Mode, use one finger from one hand to press the Select button, and one finger from the other hand to press the Play/Pause button.
    Older iPod models without a Click Wheel
    Before placing the iPod into Disk Mode, verify that it has a charge.
    Toggle the Hold switch on and off (set it to Hold, then turn it off again.)
    Press and hold the Play/Pause and Menu buttons until the Apple/iPod logo appears, then release them. This resets iPod. When you reset iPod, all your music and data files are saved, but some customized settings may be lost.
    When the Apple logo appears, immediately press and hold the Previous and Next buttons until the Disk Mode screen appears.
    Connect the iPod to your computer; the screen on the iPod should say "Do not disconnect".
    source: Putting iPod into Disk Mode

  • How can i put one scene into JPanel of the swing?

    how can i put one scene into JPanel of the swing?

    980571 wrote:
    ty for the information but i have a problen with JFXpanel when i try to into a panel it doesnt display insideSorry to hear that. If you want assistance with the code, feel free to post the relevant parts of it. Make sure to use \ tags when you do.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How can I put my bookmarks into the sequence I want, alphabetical or otherwise?

    How can I put my bookmarks into the sequence I want, alphabetical or otherwise?

    http://kb.mozillazine.org/Sorting_bookmarks_alphabetically <br />
    http://kb.mozillazine.org/Sorting_and_rearranging_bookmarks_-_Firefox

  • Hi, I godt 2 Questions: 1) My Adobe PhotoShop Elements 10.0 for MAC cannot read the RAW files taken with the new Canon 7D Mark II camera. 2) My Photoshop Elements has changed from the danish language to german language, how do I put this back ?

    Hi, I godt 2 Questions: 1) My Adobe PhotoShop Elements 10.0 for MAC cannot read the RAW files taken with the new Canon 7D Mark II camera. 2) My Photoshop Elements has changed from the danish language to german language, how do I put this back ?

    You're in the wrong forum.  This is not the Elements forum.
    Here's the link to the forum you want:
    https://forums.adobe.com/community/photoshop_elements/content

  • How can i rewrite this code into java?

    How can i rewrite this code into a java that has a return value?
    this code is written in vb6
    Private Function IsOdd(pintNumberIn) As Boolean
        If (pintNumberIn Mod 2) = 0 Then
            IsOdd = False
        Else
            IsOdd = True
        End If
    End Function   
    Private Sub cmdTryIt_Click()
              Dim intNumIn  As Integer
              Dim blnNumIsOdd     As Boolean
              intNumIn = Val(InputBox("Enter a number:", "IsOdd Test"))
              blnNumIsOdd = IsOdd(intNumIn)
              If blnNumIsOdd Then
           Print "The number that you entered is odd."
        Else
           Print "The number that you entered is not odd."
        End If
    End Sub

    873221 wrote:
    I'm sorry I'am New to Java.Are you new to communication? You don't have to know anything at all about Java to know that "I have an error," doesn't say anything useful.
    I'm just trying to get you to think about what your post actually says, and what others will take from it.
    what does this error mean? what code should i replace and add? thanks for all response
    C:\EvenOdd.java:31: isOdd(int) in EvenOdd cannot be applied to ()
    isOdd()=true;
    ^
    C:\EvenOdd.java:35: isOdd(int) in EvenOdd cannot be applied to ()
    isOdd()=false;
    ^
    2 errors
    Telling you "what code to change it to" will not help you at all. You need to learn Java, read the error message, and think about what it says.
    It's telling you exactly what is wrong. At line 31 of EvenOdd.java, you're calling isOdd(), with no arguments, but the isOdd() method requires an int argument. If you stop ant think about it, that should make perfect sense. How can you ask "is it odd?" without specifying what "it" is?
    So what is this all about? Is this homework? You googled for even odd, found a solution in some other language, and now you're just trying to translate it to Java rather than actually learning Java well enough to simply write this trivial code yourself?

  • Hello. i have a 57 min mts video that i'd like to cut into several short videos. simple, probably. how do i separate this video into sections?

    hello. i have a 57 min mts video that i'd like to cut into several short videos. simple, probably. how do i separate this video into sections?

    Press F1 and type in Subclips.

  • I upgraded my windows and I wish to reestablish Adobe Reader XI (I believe this is what I have paid for). How do I put this back on my computer?

    I upgraded my windows and I wish to reestablish Adobe Reader XI (I believe this is what I have paid for). How do I put this back on my computer?

    If you had a paid product such as Acrobat Pro, re-download, install, and activate it with your serial number.
    If you used an Acrobat.com online service, just sign in with your Adobe ID.

  • Safari is occupying the whole page so I cannot see the dock below. How  do I put this right?

    Safari is occupying the whole page so I cannot see the dock below. How  do I put this right?

    Ok.. go to the very top of the Safari window then double click the gray title bar that runs horizontally across the top of the window then click:  View > Exit Full Screen

  • How to load Matrix report data into basic table data using ODI

    Hi,
    How to load Matrix report data into basic table data using oracle Data Integrator ?
    Requirement Description:
    Following is the matrix report data:
    JOB                       DEPT10                DEPT20 
    ANALYST                                           6000
    CLERK                   1300                     1900 Need to convert it into below format:
    JOB                             Dept                        Salary
    ANALYST                  DEPT10     
    ANALYST                  DEPT20                     6000
    CLERK                       DEPT10                    1300
    CLERK                       DEPT20                    1900
        Thanks for your help in advance. Let me know if any further explanation is required.

    Your list seems to be a little restrictive, you can do a lot more with ODI procedures.
    If you create new procedure, and add a step. In the 'command on source' tab set you technology and schema as per your source database. Use the unpivot functionality as described in the link, please, rather than using 'SELECT *' use the appropriate column names and alias them for eg:
    SELECT job as job,
    deptsal as deptsal,
    saldesc as saledesc
    FROM pivoted_data
    UNPIVOT (
    deptsal --<-- unpivot_clause
    FOR saldesc --<-- unpivot_for_clause
    IN (d10_sal, d20_sal, d30_sal, d40_sal) --<-- unpivot_in_clause
    Then in your 'command on target' tab set the technology and schema to your target db, then put your INSERT statement for eg:
    INSERT INTO job_sales
    (job,
    deptsal,
    saledesc
    VALUES
    :job,
    :deptsal,
    :saledesc
    Therefore you are using bind variables from source to load data into target.
    Obviously if the source and target table are in the same database, then you can have it all in one statement in the 'command on target' as
    INSERT INTO job_sales
    (job,
    deptsal,
    saledesc
    SELECT job as job,
    deptsal as deptsal,
    saldesc as saledesc
    FROM pivoted_data
    UNPIVOT (
    deptsal --<-- unpivot_clause
    FOR saldesc --<-- unpivot_for_clause
    IN (d10_sal, d20_sal, d30_sal, d40_sal) --<-- unpivot_in_clause
    also set the log counter as 'Insert' on the tab where your INSERT statement is, so you know how many rows you insert into the table.
    Hope this helps.
    BUT remember that this feature only came out in Oracle 11g.

  • How to insert a gif file into a table?

    Hi,
    I need to insert a gif file into a table. Can anyone tell me where I can find the information on how to create this kind of table, how to insert a gif file into a table and how to select?
    Thanks,
    Helen

    Hi Helen,
    You could read about that in the documentation which is available online.
    For a starter: BLOB. And I bet there are many examples to be found on the web.
    Good luck. :)
    Regards,
    Guido

Maybe you are looking for

  • What are the settings to remain only in the 5MHz mode?

    I would like to remain only in the 5MHz mode ond skipp the 2.4 MHz ode in my wireless net: What ate te setting 802.11 a/n - 802.11 b/g/n ans what do tey mean? Hans

  • Shell Script- To FTP the latest file with the date stamp

    I have a Solaris 10 based system, where it generate some application files (multiple) in XML format and the file name comprises of the current date. File Format is as follows; CX-FIL-20070624000000-2-8452536d-000133.xml Where 20070624 repesents the c

  • Troubles using a redeemed gift card

    Hello, I recieved a 100$ gift card with the purchase of my mac, I just redeemed it and im having troubles using it in the itunes store. Whenever I try to purchase a song it redirects me to my credit card info and asks me to update it. Why isn't is au

  • BAPI to remove location-products from Active Model

    Hi All, Can you tell me the BAPI to remove location-products from active model in MASS? Thanks. Best Regards, chandan

  • Hoping to change from PC to Mac - need information?

    I am seriously considering changing to Macs after using PCs my entire life. As a designer, my concerns are with all the Adobe products I have acquired and continuously updated. Do I need to purchase new software or can the option of running windows o