How to use SQLExec without the ODBC error

When I execute the query using SQLExec it gives alarm on Excel ODBC driver.Please provide detailed instructions on how to use this object.

Mani,
I have found an example that you can use to help you in your development of your Lookout application. This example will eventually be found in the resource Library of the Developer Zone.
Attachments:
sqlexcel.zip ‏132 KB

Similar Messages

  • How to use Client_Host without the exe file path

    Hi,
    i'm using oracle forms 10g,
    in my application the users can upload any type of files (doc,xls,pdf,avi ,.. etc) and any user can download and open any of these files.
    i implement this using client_host and including the path of winword.exe or AcroRd32.exe ,...
    in many cases i don't know where these exe files are installed in the client side or whether it is installed or not.
    i tried this command : client_host('calc.exe') it works and show me the calc without including the path of this exe file.
    what i want to do is to just call the target file(doc,pdf,avi,..) in the client_host without having to precede this with the exe and path like the calc.exe example.
    if you go to start->run and write for example c:\ahmed.mpeg , windows automatically call the real player or any other video software installed and open the movie.
    can we implement this in oracle forms? and how?

    Hi, you attach a procedure to download a file in the local runs from Windows and to close it updates in the database and then delete the local directory
    PROCEDURE OPEN_FILE (V_ID_DOC IN VARCHAR2)
    IS
    -- Open a stored document --
    LC$Cmd Varchar2(1280) ;
    LC$Nom Varchar2(1000) ;
    LC$Fic Varchar2(1280);
    LC$Path Varchar2(1280);
    LC$Sep Varchar2(1) ;
    LN$But Pls_Integer ;
    LB$Ok Boolean ;
    -- Current Process ID --
    ret WEBUTIL_HOST.PROCESS_ID ;
         V_FICHERO VARCHAR2(500);
         COMILLA VARCHAR2(4) := '''';
         BOTON     NUMBER;
         MODO     VARCHAR2(50);
         URL     VARCHAR2(500);
    Begin
         V_FICHERO := V_ID_DOC;
              -- Ruta y nombre del fichero temporal --
              LC$Sep := '\';--WEBUTIL_FILE.Get_File_Separator ; -- 10g
              LC$Nom := V_FICHERO;--Substr( V_FICHERO, instr( V_FICHERO, LC$Sep, -1 ) + 1, 100 ) ;
              --LC$Path := CLIENT_WIN_API_ENVIRONMENT.Get_Temp_Directory ;
              LC$Path := 'C:';
              LC$Fic := LC$Path || LC$Sep || LC$Nom ;
              -- Descargamos el fichero --
              If Not webutil_file_transfer.DB_To_Client
              LC$Fic,
              'TABLE_NAME',
              'ITEM_NAME',
              'WHERE'
              ) Then
              Raise Form_trigger_Failure ;
              End if ;
              -- Abrimos el fichero temporal en local --
              LC$Cmd := 'cmd /c start "" /MAX /WAIT "' || LC$Fic || '"' ;
              Ret := WEBUTIL_HOST.blocking( LC$Cmd ) ;
              LN$But := WEBUTIL_HOST.Get_return_Code( Ret ) ;
              If LN$But <> 0 Then
                   Set_Alert_Property( 'ALER_STOP_1', TITLE, 'Host() command' ) ;
         Set_Alert_Property( 'ALER_STOP_1', ALERT_MESSAGE_TEXT, 'Host() command error : ' || To_Char( LN$But ) ) ;
         LN$But := Show_Alert( 'ALER_STOP_1' ) ;
         LB$Ok := WEBUTIL_FILE.DELETE_FILE( LC$Fic ) ;
         Raise Form_Trigger_Failure ;
              End if ;
              -- Actualizamos el fichero en la BBDD --
         If Not webutil_file_transfer.Client_To_DB
              LC$Fic,
              'TABLE_NAME',
              'ITEM_NAME',
              'WHERE'
              ) Then     
              NULL;     
              Else
                   Commit ;
              End if ;     
         -- Eliminamos el fichero temporal local --
              LB$Ok := WEBUTIL_FILE.DELETE_FILE( LC$Fic ) ;
    Exception
              When Form_Trigger_Failure Then
              Raise ;
    End ;

  • HT5002 I used Inkscape on Linux before moved to Mac. Now I am trying to install it using MacPorts, but libpixman has some problems that has been reported out there. Does any one know how to fix it without the need to use other way than MacPorts?

    I used Inkscape on Linux before moved to Mac. Now I am trying to install it
    using MacPorts, but libpixman has some problems that has been reported out there.
    Does any one know how to fix it without the need to use other way than MacPorts?

    Start with this comprehensive troubleshooting article:
    https://discussions.apple.com/docs/DOC-3521
    Look at this one for possible solutions:
    https://discussions.apple.com/docs/DOC-3353
    Ciao.

  • Leopard DVD is far away. How to install XP without the leopard dvd?

    ok. Leopard DVD is far away abroad with my sister.
    How to install Xp without the DVD? Is there anyway to get the drivers that are to be installed from the dvd after installing Xp?
    I really need to use Autocad and Rhino on my Macpro, so Parallels or VMware fusion is not an option. I am already using VMware fusion on my Macbook pro, but VMware will not use 4g RAM of my Macpro which means it would be hard to run Rhino.
    By the way, I am planning to buy Windows (I am sooooo ashamed to install that self-messed up OS on my Macpro. but so what,,, Autocad and Rhino do not run on Mac, and I need specifically the two programs). XP with sp2, sp3, or vista. which one is the best option?
    Since my Macpro has only One 2.8GHZ Quad-Core Intel Xeon, there is no need to buy XP professional? (XP home doesn't support multi-processors, and XP Pro does, I guess?)
    Message was edited by: GoodmorningNightmare

    GoodmorningNightmare wrote:
    There are some parts that I don't understand.
    VMware Fusion uses only 512 RAM maximum, doesn't it? But you said it will use my entire 4GB RAM but only 2 cores. That's something different from what I've known.
    If fusion really uses 4gm RAM of my mac pro, I don't really have to use Boot Camp. But most people who need to run heavy programs in Windows choose Boot Camp because it's the only way to use a Mac just like a PC, meaning that the XP uses the entire RAM memory.
    XP will only use 2 GB of RAM, no matter how much the system has.
    I just found out that Rhino doesn't really work on Vista. So vista is ruled out.
    Only Vista 64-bit recognizes all system RAM.

  • How can I download without the credit card on ping

    I want to download the apps but the Itunes require the credit card but I don't have while I register. So how can I download without the credit card

    Welcome to Apple Communities
    You can use iTunes gift cards to buy apps. You can buy them in Apple Retail Stores or in the Apple Online Store, and other shops

  • My cd/dvd drive isn't working and i want to upgrade my mac os x10.5.8, how can i upgrade without the software CD

    my cd/dvd drive isn't working and i want to upgrade my mac os x10.5.8, how can i upgrade without the software CD

    I think not.   You will need to order a disc from Apple quoting your serial number, as many of these discs are machine specific.   So unless you can get your drive working I think you will have to take a trip to an Apple store.  
    Indeed, you have an old computer that may not be worth the cost of repair ... but it is still worth seeking Apple advice and a visual inspection.   It just might be something not too drastic.

  • I just bought photoshop elements 13 last night. Today I am watching tutorial videos to show me how to use it, but the videos are showing me things I don't have. Asking me to click on tabs i don't have. Why is this? Is there another way I can learn? Or is

    I just bought photoshop elements 13 last night. Today I am watching tutorial videos to show me how to use it, but the videos are showing me things I don't have. Asking me to click on tabs i don't have. Why is this? Is there another way I can learn? Or is my download messed up and not giving me everything I need?

    Got a link showing us which video tutorials you're watching and examples of what's missing in your software?

  • How to use shortDesc in the disabled inputtext

    hi,all
    i encounter a problem,our team must use disabled inputtext when the text is only used to output string.
    the reson we don't use outputext is if there is noting in the outputtext,there is nothing displayed.
    how to use shortDesc in the disabled inputtext?
    here is the code:
    <af:inputText value="#{bindings.shortdesc.inputValue}" disable="true"
    id="ot2" columns="25" shortDesc="#{bindings.longdesc.inputValue}"
    simple="true"/>
    thanks all

    Hi,
    ........... I use JDev 11g ..............
    If you make your inputText disabled -----> shortDesc will not be displayed.
    You can make a workaround to achieve this by using popup as :
    1- add showPopupBehavior inside your inputText as :
    <af:inputText label="label1" id="it1" disabled="true">
                    <af:showPopupBehavior triggerType="mouseOver"
                                          align="endBefore" alignId="it1"
                                          popupId="p1"/>
                  </af:inputText>2- add a popup which will display your shortDesc text
    <af:popup id="p1">
                      <af:outputText value="Sameh POPUP" id="ot1"/>
              </af:popup>I hope it is useful.
    Sameh Nassar

  • When you can use Airplay without the need to connect to a wireless router?

    My question / request is, when you can use Airplay without the need to connect to a wireless router? Able to connect your iphone / ipod touch / ipad to your Apple TV directly without a wifi router, something like a "Airplay Direct"

    This is not supported.  Speculation about upcoming Apple products or features is prohibited by the Terms of Use of this forum.
    Feedback to Apple goes here:  http://www.apple.com/feedback

  • How to use labview with the handyboard

    Hi,
    how to use labview with the handyboard
    Thx...

    I'm assuming you're talking about this, since you didn't provide a link for those of us who don't know what you're talking about.
    As the other poster said, you didn't say how you want to use LabVIEW with it.  If you want to write LabVIEW programs than run on the microprocessor, then you're out of luck.  If you want LabVIEW to interact with it, then you've got a couple of options, SPI probably being the best, but it also has DI and AI that you could use to communicate with it - the DI's could be used as a parallel interface.
    Message Edited by Matthew Kelton on 12-17-2007 02:21 PM

  • Is it manitory to have an airport antenna or can you use it without the antenna (powermac g5 dual processor 10.4.11)

    Is it manitory to have an airport antenna or can you use it without the antenna (powermac g5 dual processor 10.4.11)

    On the PowerMac G4 I had it had to be connected, but not sure about the model you have.  My guess would be yes due to shielding in the case, but would rather wait and hear from someone else.

  • How to use PS to judge the existence of a folder in the specified directory and how to use PS in the specified directory to create to create the folder?(javascript)

    1,How to use PS to judge the existence of a folder in the specified directory?(use javascript)
    2, how to use PS in the specified directory to create to create the folder?(use javascript)
    Thanks you!

    Thanks you!

  • Activating Windows 7 by using KMS Without the Active Directory Domain environment

    Dear,
                 Can we able to activate the Windows 7 O/S Machines by using KMS without the Active Directory Domain environment,As our some of the Computers will not connect with AD domain, we need to setup the speprate KMS
    server for this.
    Thanks
    Balaji K 

    You can point the KMS clients to the KMS host machine by opening an Elevated CMD prompt:
    and running slmgr /skms to point directly to the KMS host.
    You do not need a Domain controller.
    Volume Licensing: Key Management Service (KMS) Client Options:
    /skms <Name[:Port] | : port> [Activation ID] [Activation ID]                                                                                                          
    Set the name and/or the port for the KMS computer this machine will use. IPv6 address must be specified in
    the format [hostname]:port                          /ckms [Activation ID]                  
    Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.

  • I downloaded the free trial for Adobe XI Pro but now I cant find it on my computer or figure out how to use it. The only thing I see that downloaded is Adobe Download Assistant. How can I access the program?

    I downloaded the free trial for Adobe XI Pro but now I cant find it on my computer or figure out how to use it. The only thing I see that downloaded is Adobe Download Assistant. How can I access the program?

    Assistanttolindsey the Adobe Download Assistant will download the installation files for Adobe Acrobat Professional XI.  By default they are saved to your download folder.  You can begin the installation process from there.

  • HT5457 How to use facetime without wifi, I use Iphone 4S

    How to use facetime without wifi, I use Iphone 4S

    Only if your iPhone is 4S and your carrier supports it.
    Read this: http://support.apple.com/kb/TS4400

Maybe you are looking for

  • BI 7.0 authorization issue

    Hi, I have problems to restrict access to reporting component type "variable" RSZCOMPTP (S_RS_COMP). Trace shows auth check on act 01 when creating a new variable (which is ok) but when trying to change or worst selecting an existing variable within

  • My iTunes freeze when I connect my ipod classic

    I had to restore my iPod, unfortunately, because a notification that my iTunes couldn't read my iPod for an error appeared. Now I restored the iPod, and when I plug in it, my iTunes failed, freeze, didn't work. So I uninstalled the iTunes, reinstalle

  • Common itunes and iphoto library across many apple devices & users using AExtreme?

    Is it possible to maintain a common itunes library and iphoto library shared across multiple users and multiple devices in a home via airport extreme or via airport express and a NAS?

  • I need a version of itunes for macbook air v. 10.5.8

    Hi My macbook air crashed. I was in the midst of creating an imovie. I am attemptimg to recreate it but cannot dowmload Itunes. I have an older model macbook air v 10.5.8. any suggestions. Thank you

  • BW 3.5 homogeneous system copy/oracle 9.2

    Hello We have an big BW 3.5 system. Like other productive systems which needs to be fully available we would like to perform  homogeneous system copy. In case of ECC system we are doing this procedure of renaming <SID> within Oracle tables on disconn