Change recordset cursor type in DW 8.02

I have never been more unhappy with an update in my live, I
basically have to learn everything from scratch again with DW 8.02.
When pulling a recrodset you used to be able to set the
CursorType in the code. That is gone now.
As a result I cannot use rs.MoveFirst or rs.Move -2 to browse
around records. I get the following error.
Microsoft OLE DB Provider for ODBC Drivers error '80040e24'
Rowset does not support fetching backward.
How do I change the CursorType in this horrible update!
Thanks

You can't. The recordset returned by a command object (which
is what's used
in the 8.02 update) is always a read-only, forward-only,
server-side cursor.
If you need to change any of that, don't use the Execute
method of the
command object. Construct a recordset with the options you
want. Do NOT
set the active connection on the recordset; leave that out.
Pass the
command object as the source of the recordset object, then
use the
recordset's Open method. That's pretty convoluted, but it
lets you retain
the most DW-generated code.
Your other option is to use the recordset object only and
plain text
parameters like DW 8.01 rather than a command object with
parameter objects
like DW 8.02.
That change was fundamental to the ASP server model and
probably should not
have been part of any update, but saved for the next release.
It at least
deserved more than a .0x update to the version number. At
least call it
8.1.
"riprod7" <[email protected]> wrote in
message
news:e8jdb6$ou0$[email protected]..
>I have never been more unhappy with an update in my live,
I basically have
>to
> learn everything from scratch again with DW 8.02.
>
> When pulling a recrodset you used to be able to set the
CursorType in the
> code. That is gone now.
> As a result I cannot use rs.MoveFirst or rs.Move -2 to
browse around
> records.
> I get the following error.
>
> Microsoft OLE DB Provider for ODBC Drivers error
'80040e24'
> Rowset does not support fetching backward.
>
> How do I change the CursorType in this horrible update!
Thanks
>

Similar Messages

  • Changing the Cursor Type

    Good Morning Everyone,
    I am creating a report with a barchart in a column of the report. i have been following these for reference. (mainly the first link)
    http://htmldb.oracle.com/pls/otn/f?p=31517:183:5430906720971021::NO
    http://apex.oracle.com/pls/otn/f?p=220:1:1602821811068326
    http://apex.oracle.com/pls/otn/f?p=220:2:8706839551396459
    I have sucessfully got the "progress bar" in place on my report. Now what i would like to do is change the cursor type, but im struggling.
    This is the basic lay out of the code which i am using,
              '<img src="'
           || '#WORKSPACE_IMAGES#'
           || 'green.gif" height="20" width="'
           || TO_CHAR (random_value)
           || '" '
           || 'title="'
           || TO_CHAR (random_value)
           || '% completed'
           || '" />'
           || '<img src="'
           || '#WORKSPACE_IMAGES#'
           || 'red.gif" height="20" width="'
           || TO_CHAR (100 - random_value)
           || '" '
           || 'title="'
           || TO_CHAR (100 - random_value)
           || '% open'
           || '" />' progress_barPlease could someone help me :)
    Thanks in Advance,
    -N.S.N.O.

    Hey Guys,
    Thanks for your input, i solved my problem :D The style part of the code at the bottom did the trick.
    -N.S.N.O.
    '<img src="'
    || '#WORKSPACE_IMAGES#'
    || 'green.gif" height="20" width="'
    || TO_CHAR (UKXP)
    || '" '
    || 'title="'
    || TO_CHAR (UKXP)
    || '% of tables turned on'
    || '" '
    || 'style="cursor:help";'
    || '" />'
    || '<img src="'
    || '#WORKSPACE_IMAGES#'
    || 'red.gif" height="20" width="'
    || TO_CHAR (100 - UKXP)
    || '" '
    || 'title="'
    || TO_CHAR (100 - UKXP)
    || '% of tables turned off'
    || '" '
    || 'style="cursor:help";'
    || '" />'

  • How to change the cursor type when a TableView class was added to a Swing application?

    We can resize column width by dragging the column divider in the table header. This is a built-in feature of the TableView class.
    Normally, the cursor will become to east-resize (or west-resize) type with positioning the cursor just to the right of a column header.
    However, I found that the cursor is remaining the default type at the same position if I integrate JavaFX into Swing Application. That is adding the TableView to a Scene, and then adding this Scene to a JFXPanel, finally, adding this JFXPanel to the JFrame.
    The sample codes are listing below:
    public class Run extends JFrame {
        Run() {
            setSize(600, 450);
            setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            initComponents();
        private void initComponents() {
            final JFXPanel fxPanel = new JFXPanel();
            this.getContentPane().add(fxPanel);
            Platform.runLater(new Runnable() {
                @Override
                public void run() {
                    initFX(fxPanel);
        private void initFX(JFXPanel fxPanel) {
            Scene scene = null;
            try {
                scene = FXMLLoader.load(
                    new File("res/fxml_example.fxml").toURI().toURL()
            } catch (Exception ex) {
                ex.printStackTrace();
            fxPanel.setScene(scene);
        public static void main(String[] args) {
            SwingUtilities.invokeLater(new Runnable() {
                @Override
                public void run() {
                    new Run().setVisible(true);
    fxml_example.fxml:
    <?xml version="1.0" encoding="UTF-8"?>
    <?import javafx.scene.Scene?>
    <?import javafx.scene.control.TableView?>
    <?import javafx.scene.control.TableColumn?>
    <Scene xmlns:fx="http://javafx.com/fxml">
        <TableView fx:id="tableView"
                   editable="true">
            <columns>
                <TableColumn text="COL1">
                </TableColumn>
                <TableColumn text="COL2">
                </TableColumn>
                <TableColumn text="COL3">
                </TableColumn>
                <TableColumn text="COL4">
                </TableColumn>
                <TableColumn text="COL5">
                </TableColumn>
            </columns>
        </TableView>
    </Scene>
    So, are there anyone can advise how to fix these codes; make the cursor can change to east-resize (or west-resize) type when this TableView class was added to a Swing application?

    Thanks for the report. I've just filed a JIRA issue: https://javafx-jira.kenai.com/browse/RT-34009
    //Anton.

  • Possible Bug? SQL query changing the Cursor Type from Scrollable to non Scrollable in a ResultSet

    Hi all,
    I've been beating my head against this for a few days now, and while
    there is a workaround, I haven't found out what's causing this to
    happen.
    Every other SQL query except for this one particular query works fine
    and returns a scrollable result set. That one query on the other hand,
    returns a non-scrollable result set.
    Here's the code which is calling the query:
    sqlStatement = getSQLFromFile();
    debug("SQL statment = " + sqlStatement);
    stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
    debug(sqlStatement);
    rst = stmt.executeQuery(sqlStatement);
    debug("The type is " + rst.getType());
    rst.last();
    For most queries, the output is "The type is 1004" - which means the
    resultset is scrollable - as it should be.
    For one particular query, the output is "The type is 1003" which means
    that the result set is of type forward-only.
    Of course, calling rst.last() fails in the second case.
    If the difference between the queries was drastic, I might have
    something to go on. I've tested this out with different size queries,
    but the switch between having the type incorrectly changed is the
    deletion of a 0x0a 0x0d on the first line.
    I.E. this means the failing query reads :
    "select
    from........."
    and the query which works reads
    "select *
    from........."
    I've looked at the failing query in it's binary format, and that's the
    only difference I can discern.
    To further confuse things, there are other queries which have a
    similar format - and which work.
    I've read about a bug in Weblogic 5.1 SP9 which ignores the setting of
    the Statement to return a ResultSet with a scrollable cursor, and
    while this seems to be a bug, it doesn't seem the same bug at all -
    besides, I'm using Weblogic 6.0 with SP1 on a W2K system.
    Does anyone have any ideas as to what might be causing this? I'm
    stumped..

    Ryan D'Silva wrote:
    Hi Joe,
    I'm using the Oracle thin driver -
    oracle.jdbc.driver.OracleDriver - version #8.1.6.0.0
    and the DBMS is
    "Oracle9i Enterprise Edition Release 9.2.0.2.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.2.0 - Production"
    Does that help?Yes. Two things: TYou should probably upgrade the oracle thin
    driver, by downloading the latest appropriate one from their site,
    and make sure it's ahead of all weblogic jars in the classpath the
    server builds for itself. Also, let's see how simple we can make the
    problem. Would you please repeat the JDBC that demonstrated the problem,
    in a small standalone java program that uses a direct thin driver connection,
    getting weblogic out of the picture? (The problem does sound like
    and oracle driver issue).
    Joe
    >
    >
    Thanks,
    - ryan
    You don't say what DBMS and what JDBC driver you're using for the pool.
    That is likely to be the issue. Let me know.
    Joe
    Here's the code which is calling the query:
    sqlStatement = getSQLFromFile();
    debug("SQL statment = " + sqlStatement);
    stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
    debug(sqlStatement);
    rst = stmt.executeQuery(sqlStatement);
    debug("The type is " + rst.getType());
    rst.last();
    For most queries, the output is "The type is 1004" - which means the
    resultset is scrollable - as it should be.
    For one particular query, the output is "The type is 1003" which means
    that the result set is of type forward-only.
    Of course, calling rst.last() fails in the second case.
    If the difference between the queries was drastic, I might have
    something to go on. I've tested this out with different size queries,
    but the switch between having the type incorrectly changed is the
    deletion of a 0x0a 0x0d on the first line.
    I.E. this means the failing query reads :
    "select
    from........."
    and the query which works reads
    "select *
    from........."
    I've looked at the failing query in it's binary format, and that's the
    only difference I can discern.
    To further confuse things, there are other queries which have a
    similar format - and which work.
    I've read about a bug in Weblogic 5.1 SP9 which ignores the setting of
    the Statement to return a ResultSet with a scrollable cursor, and
    while this seems to be a bug, it doesn't seem the same bug at all -
    besides, I'm using Weblogic 6.0 with SP1 on a W2K system.
    Does anyone have any ideas as to what might be causing this? I'm
    stumped..

  • WAd Report - How to change Cursor Type...

    Hi,
    In BI WAD report output, the cursor type is Pointer (Hand sign). I wanted to change it to some other type, is this possible, If yes, could u pls let how can i do that. I tried a lot but didn't suceed.
    Thanks...

    I think this would be possible by having custom CSS embedded in web template. E.g. see here:
    http://www.zimmertech.com/tutorials/css/20/changing-cursors-tutorial.php

  • My typewriter toolbar is graying out the ability to change font size, type, and color.

    My typewriter toolbar is graying out the ability to change font size, type, and color.

    Here's what I have done in the past. Maybe not elegant, but
    it works. (I
    use PHP, but I'm sure you can modify for ASP.)
    In the HEAD of each web page, include regular old embedded
    STYLE tags,
    but INCLUDE an external PHP file:
    <head>
    <style type="text/css">
    <?php include('styles/testcss.php'); ?>
    </style>
    </head>
    Now in that included PHP file, just have CSS code which pulls
    in your
    dynamic data. Here's an example snippet:
    body {
    color: #600;
    background-color: <?php echo
    $row_recordset['bgcolor'];?>
    Of course, you'll need the code for the recordset somewhere
    too.
    Alec
    Adobe Community Expert

  • How do I change the cursor blink rate? Firefox 3.6.10 under Ubuntu.

    How do I change the cursor blink rate? Firefox 3.6.10 under Ubuntu.

    See this old mozillaZine forum thread about this:
    *http://forums.mozillazine.org/viewtopic.php?f=38&t=865895
    ''(please to not post in such old threads)''
    See also:
    * http://kb.mozillazine.org/about:config
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />

  • Cursor type?

    Hey all.. the ASP connection code that DW used to generate
    listed a cursor
    type that I could change to 'optimistic' but the new code its
    spewing
    doesn't show these variables anymore.. where is it hiding
    them, or how can I
    modify what its generating to get there again (though I
    shouldn't have to?)

    Hey all.. does anyone know how to set the cursor type in this
    ASP code to
    "optimistic"?
    <%
    Dim Recordset1
    Dim Recordset1_cmd
    Dim Recordset1_numRows
    Set Recordset1_cmd = Server.CreateObject ("ADODB.Command")
    Recordset1_cmd.ActiveConnection = MM_NorthDirectory_STRING
    Recordset1_cmd.CommandText = "SELECT * FROM dbo.list_active"
    Recordset1_cmd.Prepared = true
    Set Recordset1 = Recordset1_cmd.Execute
    Recordset1_numRows = 0
    %>

  • APO-DP - Change in Calculation Type of Key Figure in Production Environment

    Hi Team,
    I wish to know how to make a change in Calculation Type of Key Figure in Production Environment. I wish to change calculation type from "P" to "S" and also wish to enter Disaggregated Key Figure.
    Regards,
    Tarun Jha

    HI,
    The TR will not move the changes as you are expecting here.
    Any changes to planning area, below 5.0 need to de-intialize the planning area.
    just like
    1. hold the latest back up
    2. de-intialize planning area
    3. make the required changes to planning area
    4. initialize planning area and do conisistency checks
    5. load back the data to planning area at all CVC level
    all the steps need to perfom, in Dev and Quality and Production servers,
    Plan the activity for a weekend so that users will not get disturb*
    All the best
    ARUN R Y

  • My iCloud storage payment is going to be going through is 7 days but the card on file needs to be changed. How do I change he payment type?

    My iCloud storage payment is going to be going through is 7 days but the card on file needs to be changed. How do I change he payment type?

    Welcome to Apple Support Communities
    To change your payment, read > http://support.apple.com/kb/ht1918

  • How do i change the media type on a digital booklet when they option bar is greyed out?

    I downloaded an album a couple days ago which came with a digital booklet. I am trying to put it on my phone but need to change the media type to book to be able to do this. whenever I go to the get info tab, the options tab is completely greyed out and wont let me do anything to it. I have tried selecting read only on the file and it did not work. I have windows 8. If there's is any different way of getting this on my phone, anything would be great!

    The item must not be read only if you want to change it.
    In the new Get Info dialog the Media Kind is in a light grey. Next to that will be the word Music. Hover over it and you should see that it is part of a drop down list control, click and select Book.
    tt2

  • I tried to change the file type of the movie, but now I am unable to open/edit it in iMovie, HELP !

    I tried to change the file type of the movie, but now I am unable to open/edit it in iMovie, HELP !

    Thank you very much! This is exactly what I was looking for.
    I appreciate your time and effort in solving my question : )

  • Can we change the data type of a field based on the value of the field

    HI Gurus,
    My Requirement is as below -- Could you please guide me
    in the Printable Adobe form -- for ex - as usual for dates fields in the Object Pallette the object type is a date/time field  and for quantity/currency fields corresponding fields are taken
    now in case the either the date, quantity or currency is initial in place of displaying 0.00 or empty date we need to display N/A (Not Applicable)
    for this I would like to change the data type of the field
    to put it simply --
    we need to change the data type of date field from DATE&TIME to Char type to hold N/A or  Quantity field to Char field to hold N/A
    how can we realize this in SAP adobe forms
    Thanks in Advace
    Ramchander Rao.K

    Hello Ramchander,
         You cannot change the data type of the field at run time in Adobe forms because the type of field you choose at the time of design level is associated with the data type itself.
    If you want to achieve your requirement, then your main idea should be to set the data type as CHARACTER itself while designing the field in the adobe form itself. CHAR field will comfortably hold the value of Calculation/amount field, Currency field, Amount, Date, Time HHMMSS, Unit Accuracy, Currency key, Floating point number, Numeric text, Client, Language and many other data types.
    After designing the field as TEXT field in Adobe form you have two options.
    Option 1:
    Select the Date field initially as type TEXT field or CHAR field in Adobe forms.
    Suppose the name of the field is TEXTFIELD1, then write the Javascript code on this field in Initialize event as below.
    if ( this.rawvalue == null )
         this.rawvalue = "N/A";
    If the field is not blank, then it will show the date. Else it will show "N/A".
    Option 2:
    Select the Date field initially as type TEXT field or CHAR field in Adobe forms. Do the formatting part in ABAP itself. It will increase the performance. Avoid Javascript as much as possible.
    Suppose you have a DATE variable l_dats of type DATS. Then take another variable l_date of type CHAR. Then write the below ABAP code.
    MOVE l_dats TO l_date.
    IF l_date IS INITIAL.
         l_date = 'N/A'.
    ENDIF.
    Bind the l_date to the TEXT field in the form.
    Even in this case, if the field is not blank, then it will show the date. Else it will show "N/A".
    But I will suggest you to use Option 2 of keeping the AMOUNT, QUANTITY, DATE, TIME fields etc as CHAR or TEXT fields in Adobe form and do the required formatting in ABAP itself.

  • How can we change the message type?

    Hello all
    We use SRM server 5.5 with classic scenario.
    When we create shopping cart, we implemented the Change Badi to assign the purchasing group from R/3 material master.
    We implemented the following logic.
    If material master in R/3 has no purch. Group, SRM also has no purch. Group. So SRM display the error message “You should select the purch. group” to determine the purchasing group in basic view.
    But, We have the standard error message, when we choose the material code – this material code has no purch. Group in R/3 – “No purchasing groups were found”.
    Message number is BBP_ATTR050.
    Because of this message, we can not progress the process to create shopping cart.
    Can we change the message type from Error to Warning Message?
    Or, Can we delete this message?
    Thank you,
    Best regards,
    SH

    Yes. You are right.
    When user choose the material code, there is no purch. group in 1st Step, but
    we want to choose the purch. group in 2nd Step on basic view.
    But we have the error message at 1st step. so we can not progress to 2nd Step.
    If we use dummy purch. group, user could make the human mistake.
    So our customer want to remove purch. group and choose the purchasing group by user.
    But i'm not sure if we remove this error message, we got solve this problem..
    Pls give me an idea..
    Message was edited by:
            So Hee Lee

  • How to change the Encoding type of a XML

    Hi all,
    I'm having a XML(generated at run time) with UTF-8 Encoding. If I'm going to parse it, getting an error saying "*Document root element is missing*".
    If I change the encoding to ANSI, it parses without error.
    How can I change the encoding type of a documnet ?
    Any comment welcome.
    Kaushalya

    There's no such thing as the "encoding of a String". If you produced a String from a sequence of bytes using the wrong encoding, you may not be able to repair that problem by hacking about in your code. You're better off to produce the String using the correct encoding in the first place. Read this for more information about XML and encodings as you appear to be misunderstanding basic concepts:
    [http://skew.org/xml/tutorial/]

Maybe you are looking for

  • Message settings option for text messages is not c...

    I am using  N73 phone and here i cant go to the message settings option for text messages. actually i want to change my message center. Message > Options > Settings > Text Message  When i tried to follow above steps it finally ends up with the Main m

  • Battery life and downloading iTunes

    Hello Everyone: I am once again having more problems with my iPad since updating with the IOS 8.3 system. I will discuss that in another forum. I am also having ENDLESS problems with my latest ipod Shuffle device. This is the 5th iPod shuffle I have

  • C3-01.5 always goes online via WLAN or other conne...

    Hello! Unfortunately my loved C3-01 got killed by a car - now I've got a C3-01.5 (was the only one in Vienna!). When starting my phone the first time, I got to some moment a question, if I wish my phone to be always connected. I don't know anymore, w

  • Auto Goods movements

    hi all We have a group of pumps & codes of all these pumps are created on that basis. Similarly the spares of these pumps are having codes under respective category. But, spare parts of a group of pumps are same (physically). Also supplier part no. f

  • Regarding X12 & Edifact messages

    Hello Experts, We want to send MATMAS and BOMMAT data via IDocs. For that we need the standard EDIFACT and ANSI X12 messages that correspond to MATMAS & BOMMAT IDocs to send it to non-SAP system via EDI. Also if mappings to these IDocs with the EDI m