Passing and Retrieving parameters problem...

Hello,
I am very green to Oracle forms builder. I have a multi-form application that I am trying to create a parameter list for on the first form and pass that parameter to a second form via the OPEN_FORM method. I am able to create the parameter, I set a runtime breakpoint and ran the form and verified that the correct value is there. I can then call the second form using the CALL_FORM('form_name',ACTIVATE,NO-HIDE,'params_list_name'). Once the second form pulls up how do I verify that the parameter is indeed there and how do I access that parameter.
The project I am working on is a simple log in screen where a user would enter his or her ID and Password/Pin, this is the first form. The trigger on the "log in" button verifies that the user entered the correct information and calls the next form. I am assuming that passing a parameters list is the most effecient way to do this. I would like to pass the UserID to the second form and use it in the WHERE clause of a SQL expression in order to show the user his or her personal data. Do I need to create a PRE_FORM trigger on the second form to accept the passed parameters list?
Any help would be much appreciated.
Alex

on your second form, on object navigator's parameter node, create the parameters having the same names you defined in your first form. then
you can use it as :PARAMETER.your_param_name anywhere in the second form.

Similar Messages

  • Root pass and key layout problems

    Hello. There are two problems. The first is that when I use 'sudo' in terminal it is accept only my normal user password, not root??? Some programs like Shaman require root password.
    And the second problem - my layout. I have 'us' and 'ru' layouts. It is working by click to keyboard indicator, but when I press Alt+Shift, both Alt's or Win key (there is my config) is nothing happens. I have only original EN locale - maybe the problem is it?
    Last edited by noMaster (2009-07-06 02:24:53)

    I was having problems with E17 after a fresh install (mixer problem, key bindings, etc), and I fixed it by deleting the configuration files at
    ~/.e
    as the wiki says.

  • Saving in USB and retrieving file problem?

    My file was able to be previewed in my computer (imac). However, when file is saved in USB, and reopened, linkage to other pages and pictures were lost. How to solve this?

    Check the links in your site to verify they are not absolute paths. You should be using Document Relative paths instead.
    So if you see something like...
    c://computer/user/site/folder/image.jpg
    You'll need to fix them in DW first so they look more like
    folder/image.jpg
    If the site was set up correctly locally, and your links are no longer absolute paths, you will be able to save it onto a USB and have those files viewable from in IE, Firefox or other browsers.
    If you are attempting to modify the USB files from DW, you'll want to create a site from them in DW first or you could end up in the same situation you were in to begin with.
    Site > New Site > give it a name > for Local Root Folder, browse to the site's root folder on the USB device.

  • How to pass my input parameters (duty and frequency) to other loop?

    Hi everyone..
    Can you help me in doing my project..I have a problem regarding passing my two parameters (duty and frequency)
    from my main while loop passed to PWM program (other while loop).
    As for your reference, attached with my VI project.
    Hope to read your response guys!
    thanks and regards,
    Ludz
    Attachments:
    Project VI (zipped) Folder.zip ‏1528 KB

    See the attached VI and tell me the result..
    Attachments:
    Project VI (zipped) Folder.7z ‏411 KB

  • How to log in with my old Apple account? I forgot my pass and I did change my apple ID before canceling first?? I am from Croatia so did folow al the discussion and the to resolve the problem but no luck. Can not call from Croatia the Apple help desk

    How to log in with my old Apple account? I forgot my pass and I did change my apple ID before canceling first?? I am from Croatia so did folow al the discussion and the to resolve the problem but no luck. Can not call from Croatia the Apple help desk.i did try all the options but I can not find the phone number to call from Croatia,
    I can not change my Apple ID to the old mail (not possible!)
    The old mail don't accept the new password..
    I can not delete the Icloud all the time asking my the password of the old mail!
    I realy need help

    You can not merge accounts.
    Apps are tied to the Apple ID used to download them, you can not transfer them.

  • I have bought a Season pass for The Big Bang Theory. I have downloaded alle recent Epiodes without any Problems. But now... i can't download the latest Version for free. Itunes doesn't recognize my Season pass and let's me buy it again. Whats going?

    I have bought a Season pass for The Big Bang Theory. I have downloaded alle recent Epiodes without any Problems. But now... i can't download the latest Version for free. Itunes doesn't recognize my Season pass and let's me buy it again. Whats going? Do I miss something?
    Best regards,
    Michele

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Creating remote objects and passing the retrieved data to modules

    I found at this Adobe tutorial a nice "RemoteService" class that  creates a RemoteObject and contains the functions for handling the  result and fault events. If I wanted to use this approach, how could I  pass the data from the result handler to interfaces that modules from  the main application could use?
    I could put the RemoteService/RemoteObject in the modules, but (in my  opinion- and I could be wrong) the best design seems to be using the  remote calls in the main app and passing the data along to the modules.
    Ultimately, I would like to know what the "best practices" are for creating remote objects and passing the retrieved data to modules
    Thanks!

    public void mouseClicked(MouseEvent e) {
      X x = new X(e.getX(), e.getY());
    }I don't see the difficulty.

  • Import and export parameters of an FM are passed by value---why?

    Q]      By default the import and export parameters of an FM are passed by value---what is  the advantage of this system?

    Hi,
    Import and export parameters are, by default, passed by value. However, they can also be passed by reference. Tables parameters can only be passed by reference.
    Pass by reference means, passing the address itself rather than passing the value.
    I guess passing by value is easier and advantageous

  • ADF: How to print query and query parameters passed in the executeQueryForCollection methof of VO impl class.

    Hi,
    Kindly let me know how to print the query and the parameters passed to it? I tried with the params parameter in super.executeQueryForCollection(qc, params, noUserParams); but could not succeed.
    I need to log the query and the params passed to it. Kindly help.
    Thanks in advance,
    Kalpana.

    Here you go
    Coding With Passion: Oracle ADF - Debug view object query with parameters

  • How to pass whitespaces as parameters to sqlplus

    Hi all,
    does anyone of you know how to pass whitespaces as parameters to sqlplus?
    I am struggeling with with problem for quite a while now.
    I tried doing this the following way:
    sqlplus mydb/mydb@mysid @mypath\myfile.sql param1 param2 ' ' param4 ' '
    sqlplus mydb/mydb@mysid @mypath\myfile.sql param1 param2 " " param4 " "
    sqlplus mydb/mydb@mysid @mypath\myfile.sql param1 param2 '\ ' param4 '\ '
    but none of this is working. Any more ideas?
    Thanks in advance!
    Doug

    Hi,
    This could do it :[oracle@Nicosa-oel ~]$ cat script.sql
    DEFINE myparam1 = "&1 ";
    DEFINE myparam2 = "&2 ";
    DEFINE myparam3 = "&3 ";
    DEFINE myparam4 = "&4 ";
    DEFINE myparam5 = "&5 ";
    select '&myparam1.' c from dual
    union all select '&myparam2.'  from dual
    union all select '&myparam3.'  from dual
    union all select '&myparam4.'  from dual
    union all select '&myparam5.'  from dual;
    undefine myparam1
    undefine myparam2
    undefine myparam3
    undefine myparam4
    undefine myparam5
    [oracle@Nicosa-oel ~]$ sqlplus scott/TIGER
    SQL*Plus: Release 11.2.0.1.0 Production on Tue Jan 3 16:20:49 2012
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> @l
    Scott@my11g SQL>@script a " " c " " e
    C
    a
    c
    e

  • "Setting and Retrieving Cookies" DreamWeaver 8

    I am training from the book, "MacroMedia DreamWeaver 8,
    Training from the Source." I am unable to get retrieve the cookies
    set on my hard drive by the code I used in Chapter 4, Setting and
    Retrieving Cookies. I have checked my code against the completed
    code in the book and they appear to me to be identical. The cookies
    are being transferred to my hard drive by by the variables set in
    the code, but the code fails to retrieve the cookies from the hard
    drive as expected on the linked page. Since I eventually want to
    develop an interactive commerical web site, I need to solve this
    problem now. Any help is certainly appreciated. Below, I am listing
    the code that I am using for each of the three dynamic pages.
    Test Form:
    Information is entered on this form and passed to test form
    processor (This works well.)
    Code]
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>
    <body>
    <form id="frm_name" name="frm_name" method="get"
    action="test_form_processor.php">
    <label>First Name
    <input name="firstName" type="text" id="firstName" />
    </label>
    <p>
    <label>Last Name
    <input name="lastName" type="text" id="lastName" />
    </label>
    </p>
    <p>
    <p>
    <input type="submit" name="Submit" value="Submit" />
    </p>
    </form>
    </body>
    </html>
    [/Code]
    Test Form Processor:
    The first name and last name from page one transfer to the
    variables on this page, no problem.
    [Code]
    <?php
    setcookie('firstName', $_Get['firstName'], time() +
    (60*60*24));
    setcookie('lastName', $_Get['lastName'], time() +
    (60*60*24));
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>
    <body>
    <p>Thank you, <?php echo $_GET['firstName']; ?>
    <?php echo $_GET['lastName']; ?> , for filling out my
    form.</p>
    <p>Check <a
    href="test_form_processor_cookies.php">cookie</a>.
    </p>
    </body>
    </html>
    ]/Code]
    Test form processor cookies:
    The cookies sre transferred to my hard drive, I checked by
    looking in the browser cache. the problem is that the cookies are
    not retrieved by this page. When I click on the link to this page,
    "I get Hi, !." Why won't the code echo the variables that the
    cookies are holding? The code is below.
    [Code]
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>
    <body>
    Hi, <?php echo $_COOKIE['firstName']; ?> <?php echo
    $_COOKIE['lastName']; ?> !</body>
    </html>
    [/Code]
    All the bindings are set, the cookies are placed on the hard
    drive, but for some reason the link page does not retrieve the
    cookies and print them to the screen as expected. I use Firefox and
    IE7. I set both to accept totally cookies, still I cannot retrieve
    the cookie set by this small application from my hard drive, when I
    run the pages. Any help and are ideas are appreciatted.

    The problem is in the Set Cookie header on page two. It
    should be $_GET and not $_get. Dreamweaver uses lower case with the
    get method. The correct $_GET is displayed in blue letters in upper
    case, instead of black letters and lower case. This is a very
    subtle difference, as PHP uses the get method in lower case.

  • My 2009 macbookpro has begun running very slowly, apps freeze and pages hang ... i've run EtreCheck and there are problems but don't know how to sort

    my 2009 macbookpro has begun running very slowly, apps freeze and pages hang ... i've run EtreCheck and there are problems but don't know how to sort ... ran CleanMyMac and freed up about 30GB of space but didn't help ... ran AdwareMedic so that's been sorted but the other issues that came up on the EtreCheck I need help with however i can't figure out how to paste the results on this page

    thanks thomas ... here it comes
    EtreCheck version: 2.1.5 (108)
    Report generated December 29, 2014 at 5:03:07 PM GMT
    Click the [Support] links for help with non-Apple products.
    Click the [Details] links for more information about that line.
    Click the [Adware] links for help removing adware.
    Hardware Information: ℹ️
        MacBook Pro (17-inch, Early 2009) (Verified)
        MacBook Pro - model: MacBookPro5,2
        1 2.66 GHz Intel Core 2 Duo CPU: 2-core
        4 GB RAM Upgradeable
            BANK 0/DIMM0
                2 GB DDR3 1067 MHz ok
            BANK 1/DIMM0
                2 GB DDR3 1067 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
        NVIDIA GeForce 9400M - VRAM: 256 MB
            Color LCD 1920 x 1200
        NVIDIA GeForce 9600M GT - VRAM: 512 MB
    System Software: ℹ️
        OS X 10.9.5 (13F34) - Uptime: 0:5:36
    Disk Information: ℹ️
        FUJITSU MHZ2320BH FFS G1 disk0 : (320.07 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            [redacted]'s world too (disk0s2) / : 319.21 GB (30.39 GB free)
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
        MATSHITADVD-R   UJ-868 
    USB Information: ℹ️
        Apple Inc. Built-in iSight
        Apple Inc. iPhone
        Logitech USB Receiver
        Apple Inc. BRCM2046 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple, Inc. Apple Internal Keyboard / Trackpad
        Apple Computer, Inc. IR Receiver
    Configuration files: ℹ️
        /etc/hosts - Count: 29 - Corrupt!
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /Library/Application Support/Roxio
        [not loaded]    com.roxio.TDIXController (1.7) [Support]
            /System/Library/Extensions
        [not loaded]    com.kensington.mouseworks.iokit.KensingtonMouseDriver (3.0) [Support]
            /System/Library/Extensions/KensingtonMouseDriver.kext/Contents/PlugIns
        [not loaded]    com.kensington.mouseworks.driver.ADBID32Mouse (3.0) [Support]
        [not loaded]    com.kensington.mouseworks.driver.ADBID32MouseX1 (3.0) [Support]
        [not loaded]    com.kensington.mouseworks.driver.ADBID4Mouse (3.0) [Support]
        [not loaded]    com.kensington.mouseworks.driver.ADBID4MouseX1 (3.0) [Support]
        [not loaded]    com.kensington.mouseworks.driver.KMWBluetoothHIDMouse (3.0) [Support]
        [not loaded]    com.kensington.mouseworks.driver.KMWBluetoothOldHIDMouse (3.0) [Support]
        [not loaded]    com.kensington.mouseworks.driver.KMWUSBHIDMouse (3.0) [Support]
        [not loaded]    com.kensington.mouseworks.driver.USBMouseX1 (3.0) [Support]
        [not loaded]    com.kensington.mouseworks.driver.VirtualMouse (3.0) [Support]
        [not loaded]    com.kensington.mouseworks.driver.VirtualMouseX1 (3.0) [Support]
        [not loaded]    com.kensington.mouseworks.iokit.KensingtonMouseDriverX1 (3.0) [Support]
    Startup Items: ℹ️
        AdobeVersionCueCS2: Path: /Library/StartupItems/AdobeVersionCueCS2
        Firewall: Path: /Library/StartupItems/Firewall
        RetroRun: Path: /Library/StartupItems/RetroRun
        Startup items are obsolete in OS X Yosemite
    Launch Agents: ℹ️
        [not loaded]    com.adobe.AAM.Updater-1.0.plist [Support]
        [loaded]    com.adobe.CS4ServiceManager.plist [Support]
        [loaded]    com.adobe.CS5ServiceManager.plist [Support]
        [invalid?]    com.oracle.java.Java-Updater.plist [Support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Support]
        [invalid?]    com.adobe.SwitchBoard.plist [Support]
        [loaded]    com.adobe.versioncueCS3.plist [Support]
        [loaded]    com.adobe.versioncueCS4.plist [Support]
        [running]    com.atomicbird.macaroni.launchd.plist [Support]
        [loaded]    com.macpaw.CleanMyMac2.Agent.plist [Support]
        [invalid?]    com.oracle.java.Helper-Tool.plist [Support]
        [loaded]    com.prosofteng.DriveGenius.locum.plist [Support]
        [loaded]    com.skype.skypeinstaller.plist [Support]
    User Launch Agents: ℹ️
        [loaded]    com.adobe.AAM.Updater-1.0.plist [Support]
        [loaded]    com.adobe.ARM.[...].plist [Support]
        [loaded]    com.adobe.ARM.[...].plist [Support]
        [loaded]    com.google.keystone.agent.plist [Support]
        [loaded]    com.macpaw.CleanMyMac2Helper.diskSpaceWatcher.plist [Support]
        [loaded]    com.macpaw.CleanMyMac2Helper.scheduledScan.plist [Support]
        [loaded]    com.macpaw.CleanMyMac2Helper.trashWatcher.plist [Support]
        [running]    com.prosofteng.DGMonitor.plist [Support]
        [running]    ws.agile.1PasswordAgent.plist [Support]
    User Login Items: ℹ️
        CNQL1210_ButtonManager    ApplicationHidden (/Library/CFMSupport/CNQL1210_ButtonManager.app)
        System Events    ApplicationHidden (/System/Library/CoreServices/System Events.app)
        Mail    Application (/Applications/Mail.app)
        Firefox    Application (/Applications/Firefox.app)
        AdobeResourceSynchronizer    ApplicationHidden (/Applications/Adobe Reader 9/Adobe Reader.app/Contents/Support/AdobeResourceSynchronizer.app)
        Calendar    Application (/Applications/Calendar.app)
        Skype    Application (/Applications/Skype.app)
        Dropbox    Application (/Applications/Dropbox.app)
        AdobeResourceSynchronizer    ApplicationHidden (/Applications/Adobe Reader.app/Contents/Support/AdobeResourceSynchronizer.app)
        MouseWorks Background    Application (/Library/Application Support/Kensington/MouseWorks.prefPane/Contents/Resources/Support/MouseWorks Background.app)
    Internet Plug-ins: ℹ️
        AdobePDFViewerNPAPI: Version: 11.0.10 - SDK 10.6 [Support]
        Flash Player: Version: 16.0.0.235 - SDK 10.6 [Support]
        EPPEX Plugin: Version: 3.0.0.0 [Support]
        AdobePDFViewer: Version: 11.0.10 - SDK 10.6 [Support]
        ContentUploaderPlugin: Version: 1.2 [Support]
        iPhotoPhotocast: Version: 7.0
        RealPlayer Plugin: Version: Unknown [Support]
        PDEPrint: Version: 2.0 [Support]
        DirectorShockwave: Version: 11.5.2r602 [Support]
        PDF Browser Plugin: Version: 2.4.2 - SDK 10.2 [Support]
        FlashPlayer-10.6: Version: 16.0.0.235 - SDK 10.6 [Support]
        QuickTime Plugin: Version: 7.7.3
        CANONiMAGEGATEWAYDL: Version: 3.0.0.2 [Support]
        DivXBrowserPlugin: Version: 1.3 [Support]
        Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Support]
        Google Earth Web Plug-in: Version: 6.0 [Support]
        Default Browser: Version: 537 - SDK 10.9
        Flip4Mac WMV Plugin: Version: 3.2.0.16   - SDK 10.8 [Support]
        JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
        OfficeLiveBrowserPlugin: Version: 12.3.6 [Support]
    User internet Plug-ins: ℹ️
        QuickTime Plugin: Version: 6.5.1
        fbplugin_1_0_0: Version: Unknown [Support]
    Safari Extensions: ℹ️
        Ultimate [Installed]
    3rd Party Preference Panes: ℹ️
        ASM  [Support]
        DivX  [Support]
        Flash Player  [Support]
        Flip4Mac WMV  [Support]
        Macaroni  [Support]
    Time Machine: ℹ️
        Skip System Files: NO
        Mobile backups: OFF
        Auto backup: NO - Auto backup turned off
        Destinations:
            G-DRIVE Mini [Local]
            Total size: 999.86 GB
            Total number of backups: 7
            Oldest backup: 2014-07-09 00:13:07 +0000
            Last backup: 2014-12-10 22:18:57 +0000
            Size of backup disk: Excellent
                Backup size 999.86 GB > (Disk size 0 B X 3)
    Top Processes by CPU: ℹ️
             6%    WindowServer
             3%    firefox
             1%    mds_stores
             0%    mdworker
             0%    Skype
    Top Processes by Memory: ℹ️
        348 MB    firefox
        137 MB    Skype
        122 MB    mds_stores
        120 MB    com.apple.IconServicesAgent
        73 MB    Dropbox
    Virtual Memory Information: ℹ️
        1.26 GB    Free RAM
        1.74 GB    Active RAM
        477 MB    Inactive RAM
        543 MB    Wired RAM
        503 MB    Page-ins
        0 B    Page-outs
    Diagnostics Information: ℹ️
        Dec 29, 2014, 04:58:09 PM    Self test - passed
        Dec 29, 2014, 10:58:04 AM    /Library/Logs/DiagnosticReports/Keychain Access_2014-12-29-105804_[redacted].hang
        Dec 29, 2014, 10:54:33 AM    /Library/Logs/DiagnosticReports/Keychain Access_2014-12-29-105433_[redacted].hang
        Dec 29, 2014, 10:52:33 AM    /Library/Logs/DiagnosticReports/Keychain Access_2014-12-29-105233_[redacted].hang
        Dec 29, 2014, 10:50:24 AM    /Library/Logs/DiagnosticReports/Keychain Access_2014-12-29-105024_[redacted].hang
        Dec 29, 2014, 10:50:24 AM    /Library/Logs/DiagnosticReports/Skype_2014-12-29-105024_[redacted].hang

  • Any way to use OBDC in SAP to access MySQL DB and retrieve data

    I'd like to logon to an external MySQL DB (can de done easily enough with PHP)   but I'd like to do it with ABAP if possible.
    Connecting via OBDC I should be able to retreive the data from the DB  and then use it in my SAP application.
    Some databases will allow connection via
    EXEC SQL.
    connect to :dbsid
      ENDEXEC.
    EXEC SQL.
        set connection :dbsid
      ENDEXEC.
    EXEC SQL.
      open xxxxxxx for
      select
    ...... data from external DB
    from tablespace in external db
    ENDEXEC.
    do.
      EXEC SQL.
        fetch next XXXXXX into
               :db_table_field, .... etc
                 ENDEXEC.
      if sy-subrc ne 0.
        exit.
      endif.
      insert table int_sap_table.
    enddo.
    EXEC SQL.
      close XXXXXX
    ENDEXEC.
    If you can make this type of stuff work for a MySQL DB i'd appreciate the answer.
    Using PHP has a drawback as you need to have it installed on the front end PC and run in Foreground.
    The EXEC SQL commands run in batch which is what you need if you are talking about 100,000's of records from an external DB.
    Cheers
    jimbo

    Hi Graham
    Currently it doesn't seem to support MySQL.
    Now that SAP has taken over again the development of MAXDB I can't see it providing  direct MySQL to SAP functionality.
    MAXDB is available but that would mean changing the entire architecture and we don't want to do that.
    I think probably the best route to go would be to create a BAPI which is capable of performing a logon to the remote  MySQL DB server, get the data and either send it back as  IDOCS, an external flat file, or as an internal table depending on the volume of data to be retrieved.
    The good thing about MySQL is that the command line interface makes logging on and retrieving data quite simple.
    This data is actually wanted in a BI  / BW system to provide for a number of business proces analyses.
    I did think abut using "Web Services"  but the data retrieval will essentially be done offline.
    There is no requirement currently for transferring data FROM SAP back to the MySQL database ( although if you've ever dealt with top level management you know how quickly developments can change).
    PHP for all it's drawbacks is the really easy way - but we'll have a problem doing this in background from the SAP servers. For foreground tasks it's a real doddle if you have php on your front end.
    for example
    <?php
    $username = "pee_wee";
    $password = "let_me_in";
    $hostname = "localhost";        */* IP address of remote DB server */*
    $dbh = mysql_connect($hostname, $username, $password)
    or die("Unable to connect to MySQL");
    print "Connected to MySQL<br>";
    // you're going to do lots more here soon
    mysql_close($dbh);
    ?>
    Batch mode also seems OK  also from the documentation
    http://dev.mysql.com/doc/refman/5.1/en/batch-mode.html
    so running an ABAP which can issue system commands (readily available) should work in theory provided the SAP server can connect to the remote MySQL server machine.
    Thanks for your suggestions however
    Cheers
    jimbo

  • How to set cookie value in one page and retrieve in another page using setA

    How to set cookie value in one page and retrieve in another page using setActionListener?
    I have tried with following code srcpage.jspx->destpage.jspx
    srcpage.jspx
    <af:table value="#{bindings.DepartmentsView1.collectionModel}"
    var="emp" rows="#{bindings.EMPView1.rangeSize}"
    first="#{bindings.EMPView1.rangeStart}"
    emptyText="#{bindings.DepartmentsView1.viewable ? 'No rows yet.' : 'Access Denied.'}">
    <af:column sortProperty="EmployeeName" sortable="false"
    headerText="Cookie Testing">
    <af:commandLink text="#{emp.EmployeeName}" action="success">
    <af:setActionListener from="#{emp.EmployeeName}"
    to="#{cookie}"/>
    </af:commandLink>
    </af:column>
    </af:table>
    espage.jspx
    <af:outputText value="Test Cookie Value: #{cookie}"/>
    ,Here Test Cookie Value prints the following instead of its original String value
    {JSESSIONID=javax.servlet.http.Cookie@7da288, oracle.uix=javax.servlet.http.Cookie@399f62}
    I have passed employee name "Robert" to cookie in srcpage.jspx,but it prints "JSESSIONID....." instead of "Robert" in destpage.jspx
    Thanks in advance
    Kalee

    Hi,
    "cookie" is a reserved name. If you want to write to a session scope attribute called "cookie" then you have to call #{sessionScope.cookie}. If you want to use EL to set and read from cookies then you will have to use
    #{cookie.cookieName}
    Note that #{cookie} writes to and returns a map
    check this: http://www.informit.com/articles/article.aspx?p=30946&seqNum=7
    Frank

  • To store PDF into BLOB and retrieve into OLE/OCX

    We would like to:
    1. Store a PDF file (output of a report saved in file server) into a BLOB
    column.
    2. Retrieve previously stored PDF in the BLOB column and display using either
    OLE automation or ActiveX (OCX) control.
    I read all related documents in metalink that addresses this issue however cant
    get this to work. We have Acrobat Reader 4.0. Here are some issues from the
    tests that I did:
    1. To load the PDF file the program code that uses BFILE and LOADFROMFILE does
    not work since the database is on a remote server and the PDF file is on a
    local file server. The DIRECTORY created on the database is unable to find the
    PDF file.
    2. Though I want the loading of the file to be programmatic, I tried
    right-click on the OLE container and inserted object from file. This loaded the
    file into the container (Icon on the container appeared) however I was not able
    to view the document by double-clicking. An error in Adobe occured: 'There was
    an error opening this document. A file read error occured'. My guess is the
    'Insert Object' did not insert the file properly into the BLOB.
    3. When trying to display the PDF file stored in file server (in case storing
    into BLOB does not work), I used an OCX control, right-clicked and Insert
    Object and select Adobe Control for ActiveX. The problem here is when I run the
    form, the OCX control shows up empty and I have to 'Insert Object' again in
    runtime. Once I manually insert object from runtime the GET_INTERFACE POINTER &
    SET_PROPERTY works fine is displaying the document. Is there any way to
    maintain the control property of the OCX when the form is run?
    4. Are there any workarounds and better solution to store PDFs into BLOBs and
    retrieve and display in OLE/OCX controls? Using temporary file into local drive
    is not an issue.
    5. Would I be able to make use of 'PDF.PdfCtrl.1' OLE class?
    6. Does OLE automation work for Acrobat Reader 4.0.?
    I would appreciate all the help.
    Shyam

    Im facing a similar kind of problem. I want to store and retrieve Office files, PDF and Jpegs into/from the database to view them on web in disconnected mode. Please reply as I cant find any help/documentation regarding saving BLOB data into files. I was able to store file data into BLOB, using DBMS_LOB package.
    Shahzad

Maybe you are looking for