Using more than one ResultSet at a time

I need to use nested ResultSets. That is, I need to define a second ResultSet before the first ResultSet is completed.
But, whether I define the second ResultSet inside the while loop of the first (while(rs.next()), or I define the second without looping through all the results of the first, I get errors in my results (all zeros where I expect numbers).
If I either comment out the first ResultSet or loop completely through the first before defining the second, the results are correct.
I am using two different Statement objects, one for each result-set, and have even tried using two different Connections to create these two Statements, and the same error occurred.
I have done this with Sybase, and did not see these errors. I am presently using classes12.zip and nfs_charset12.zip, but I have tried using classes111.zip and nfs_charset11.zip and saw the same errors.
Has anyone seen this problem before?
Thanks,
- eric
null

I know I have seen some apps that specifically say that they can be used while surfing the web, etc. It may be a function of the app that it can continue to run while you're doing something else. I'm kind of surprised that a radio app wouldn't allow for that.

Similar Messages

  • Using More Than One App At A Time

    Does anyone know if there is a way to use more than one app at a time? It would be nice to get back to the home screen without quitting an app if you are in the middle of something.

    I know I have seen some apps that specifically say that they can be used while surfing the web, etc. It may be a function of the app that it can continue to run while you're doing something else. I'm kind of surprised that a radio app wouldn't allow for that.

  • How do I set up the multiple scree display so I can use more than one doc at a time

    With the old operating system I was able to swipe to the upper left hand corner and 9 screens would appear.  When working on a research paper I was able to move docs to each screen to help organize.  With this Op System it seems to have gone away.  Is there a way to set it up again?
    Pat

    Apple implemented major changes with working in multiple spaces from the version you were using in 10.6 Snow Leopard. (This first version was in 10.7 and has developed further till now.)
    To avoid a very long description post, search 'Work in multiple spaces'  in the Help menu for details on how to use the new spaces in Mission Control.

  • More than one ResultSet

    hello,
    in my page, i use more than one ResultSet like:
    ResultSet rs_car = "select * from ...";
    ResultSet rs_van = "select * from ...";
    ResultSet rs_truck = "select * from ...";
    ResultSet rs_test = "select * from ...";
    while (rs_car.next() {
    while (rs_van.next() {
    while (rs_truck.next() {
    while (rs_test.next() {
    why don't it work?
    I ever become an "RecordSet closed"-Error
    thx

    hy
    This is just solution,
    where is statment ?
    If there is more code ...but try this
    ResultSet rs_car = "select * from ...";
    while (rs_car.next() {
    ResultSet rs_van = "select * from ...";
    while (rs_van.next() {
    ResultSet rs_truck = "select * from ...";
    while (rs_truck.next() {
    ResultSet rs_test = "select * from ...";
    while (rs_test.next() {
    try by

  • Can I use more than one bluetooth device at a time with my iphone4

    Can I use more than one bluetooth device at a time with my iphone4

    Anthony
    I have a Plantronics 975 earpiece that works very well with my Razr.  I
    just got a Panasonic KX-TG7873S phone system for my home, it has a
    "Link-to-Cell" cellular convergence solution, from what I understand it is
    just Bluetooth enabled.  I have paired both device with my Razr.  In
    settings, Bluetooth setting, both device show.  But only one device can
    connect at a time.  If my Plantronics is connected and I choose the
    Panasonic device, the Plantronics device disconnects and the Panasonic
    device then says it is connected.  Both devices work when they
    are connected.  Is it because they are both "headsets"?
    So, to have to remember to connect to one or the other device, depending on
    weather I am coming or going is not practical.
    On Sat, Sep 14, 2013 at 1:14 PM, Verizon Wireless Customer Support <

  • Can I use more than one blue-tooth device at the same time on IPhone 4S? Like a wireless headsets and speed and cadence sensor for cycling computer, receive the data and listen music simultaneously

    Can I use more than one blue-tooth device at the same time on IPhone 4S? Like a wireless headsets and speed and cadence sensor for cycling computer, receive the data and listen music simultaneously

    As long as the profiles are different (ex. HID vs AD2P) you will not have any issues. But say if you try to use 2 keyboards at once, it won't work. Or 2 headsets at once. Your scenario seems fine.

  • I'm using an iPhone 4. I used to be able to send more than one picture at a time to another iPhone. Now I get messages that it cannot be delivered.  What's going on?

    While on vacation in Canada in July I started having trouble sending more than one pix at a time to other users. I don't recall having this problem before. Is there a limit on the number of pictures you can send via text? I wonder if I messed up some settings while I was in Canada. I had things set so that I could not receive phone calls so I wouldn't get charged.  Could I have messed up text / multimedia settings as well?

        We want your phone working just as well now as it did before your trip, sngbrd9. Are you trying to send the pictures to other Apple users using iMessage or are they being sent through MMS/picture messaging? Are you able to send pictures one at a time to those same contacts without an error? Did you change any settings in your camera to have HDR now instead of a slightly lower resolution with a smaller file size? 
    JenniferH_VZW
    Follow us on Twitter www.twitter.com/vzwsupport

  • HT5622 Can Face Time be used to connect with more than one person at a time?

    Can I connect with more than one person at a time when using Face Time?

    You mean like a conference call?  No, unfortunately.

  • Can apple tv be set up on a network to be used on more than one tv at a time?

    I am trying to find out if I can use my Apple TV on more than one TV at a time over a home wireless network?

    It only has a single HDMI out.
    Unless you can find some third party solution or AV amp that will duplicate the output over additional HDMI outputs the answer is no.
    You could take an AppleTV from room to room where it is needed and connect to the TV in use, but if you want more than one AppleTV feed best to get another AppleTV...
    AC

  • Multiple AirPort Express units - use more than one at a time?

    If I connect three Airport Express units in three different rooms, can I use more than one at a time?
    Can I choose to only use 2 out of the 3 at one time?
    Thanks.

    Yes. With iTunes 6.0.2 or later, you can send an AirTunes stream to multiple remote AirPort Express units, provided that each AirPort Express has the latest AirPort firmware. The maximum number of remote AirPort Express units is three to six in typical conditions. The number that works for you will depend on your environmental conditions (such as building composition and local radio interference), distance to the remote AirPort Express units, and available network capacity relative to your other usage.

  • Can I pair and use more than one set of bluetooth speakers at the same time on my ipod touch 4.0

    can I pair and use more than one set of bluetooth speakers at the same time on my ipod touch 4.0 or Iphone 4s or Ipad 2?

    You can only connect to one device at a time using Bluetooth, See article below for more information.
    http://support.apple.com/kb/ht1664
    While your iOS device can maintain multiple pairing records, it can only connect to one headset or hands-free device at a time. This prevents your iOS device from sending your data to the wrong Bluetooth accessory.

  • Using more than one input device at the same time

    Is it possible to use more than one input device at the saem time in logic express. For example I have a fire wire input device and a usb input device can I get Express to recognize both of these at once and so have a total of 4 ins which would be great since Im transfering tracks off my ADAT and it would be less track to have to line up.
    Thanks

    Hi,
    yes, it should be possible by creating an aggregate device. Google for it or search this forum. There are many tutorials how to set it up.
    Have fun!
    Fox

  • Use more than one transition in the same time between two video clips?

    Dear Premiere Pro programmers,
    Could you please create a way to use more than one transition in the same time between two video clips without exporting to media, or creating new sequence, or using another layer (adjustment or transparent)?
    Message was edited by: Kevin Monahan
    Reason: Next time, create a more descriptive title.

    Hi Aqsa Nori,
    I'm not sure what you are imagining, but it might be possible to achieve by key framing effects. Can you tell us what you want to do? Also, please feel free to file a feature request: http://adobe.ly/feature_request
    Thanks,
    Kevin

  • Can on use more than one hard drive to backup with time machine ?

    Can one use more than one hard drivewith time machine ?

    Yes, if you have the Mountain Lion operating system installed on the Macs that you want to back up.
    I don't know what the maximum number of hard drives might be, but I have tested with 4 and it works fine. Time Machine automatically rotates the backups when you do this, so drive #1 will be backed up first, then #2, #3, etc. and then back to #1, etc.

  • Can I use a magic trackpad with more than one Mac at a time?

    I am attempting to pair a MTP with a second MacBook Pro.  So far I can't get system preferences to find the MTP.
    I am wondering whether the MTP can be paired with only one Mac at a time, and that this is why my MBP won't find it.
    The reason I am thinking this is because the little booklet that comes with the MTP says 'after you pair your MTP with a Mac, you can pair it again with a different Mac.  To do this, you first remove the existing pairing and then pair the trackpad again'.
    Can anyone advise, please?
    If it can be paired with more than one MBP at a time, any suggestions why my system preferences search for the MTP is not producing any results?
    Thanks

    Yes, your keyboard, mouse or trackpad can be paired with multiple Macs.  You can even have multiple keyboards, mice or trackpads paired with one Mac.  The caveat is that the device can only be connected to one Mac at a time.  The device can't be paired or connected with a Mac while it's currently connected to another.
    Pairing a device with 2 Macs will be troublesome if the Macs are located within 33 ft of each other.  The device will connect with the first available paired Mac and then unavailable to the second.   If the Macs are located outside the 10meter range, it's quite easy to power off the keyboard (forcing a disconnect) then walking the keyboard to Mac 2 and powering the keyboard on.   I do this with a keyboard from my iMac to a Mac Mini in another room.
    Captfred

Maybe you are looking for

  • Error when copying a webdynpro iview for one environment to an other

    I am currently setting up a training environment for test purposes. I have to copy some webdynpro appplication iview. I do the export of the i view but unfortunatly when I import my webdynpro Iview, there are many properties in the new system  that a

  • [XFCE4] Is there a good 'Save Session' tool?

    Is there an application that does what the 'Save Session' option on Xfce4 logout does, just better? Here's the current state of 'Save Session': -It saves how many application instances were open and their window sizes. For some applications it does n

  • URLs to unblock in a firewall

    What specific URLs should be unblocked in a network firewall for access to the iTunes Store from iOS devices and iTunes software? A very dated article from 2009 (http://support.apple.com/kb/TS1379) suggests these: itunes.apple.com ax.itunes.apple.com

  • Doubt in Goods Receipt

    Hi all, While doing a GR for a PO or Inbound Delivery we have a field for Stock type.....can this stock type be Unrestricted or blocked while posting the GR. That means if the stock type is Unrestricted the GR will be posted in inventory in Unrestric

  • Hilfe!! - Pfadauswahl umkehren?? (CS2)

    hi, folgendes Problem: Ich möchte ein Bild freistellen inklusive Flächen im Bild, die freigestellt werden sollen. Wenn ich nun alle Flächen mit dem Zeichenstift-Werkzeug markiere und dann auf "Auswahl erstellen" gehe, um das Bild freizustellen, bezie