How to simulate F8

Hi All,
In the smartbar, there are Enter-Query button and Execute-Query button. When the user presses F7 or Enter-Query button, enter some values in the form, then presses F8 or Execute-Query button, the corresponding records will display.
However, I don't want to use the smartbar, I want to create my own buttons to perform these functions. I know I can create two buttons with the code 'enter_query' and 'execute_query' respectively, but the 'hand-made' Execute-query button can only retrieves all records, and after pressing the 'hand-made' Enter-query button, the user has to press F8. But the user may not know this, so is there a way that I can create a button that simulates
the F8 key?
Thanks in advance

All you will need to do is go over the items in the block collect the inserted value and use the set_block_property(Default_where) built in to set a where condition for your block and then execute the query.
I think that using the default behavior that Forms gives you is simpler.

Similar Messages

  • DBMS_DATAPUMP - how to simulate commit=N ?

    Hi,
    I am writing a PL/SQL procedure to export/import data from any database. Concerning the import part, how to simulate using DBMS_DATAPUMP api the command line option COMMIT=N?
    Our environment is Oracle 10.2.4 EE.
    Thanks for your help,
    Cyryl

    Hi,
    I don't think you can use commit with data pump. COMMIT is an option with standard import (imp), not an option with datapump, hence not available in DBMS_DATAPUMP. You should remember that standard import uses simple INSERT statement to insert the data into the table during import, but, data pump is entirely different.
    Salman

  • How to simulate HOST command from DB Procedure

    Hi,
    I'm using Oracle 9.2 database on Win2000 PC.
    I need to start .bat file from a database procedure. More generaly how to simulate HOST command that I'm using from Forms6i.
    Thanks,

    Thanks for the reply,
    But, I am able to successffuly execute HOST from SQL+
    only from the PC where the database is, not from the client. My .bat file is on the server side.
    From the procedure I was not able to run it in either cases
    Procedure TEST
    IS
    BEGIN
    EXECUTE IMMEDIATE 'host C:\MYBATCHFILE.BAT'
    END;
    returns ORA-00900 INVALID SQL STATMENT
    with EXECUTE IMMEDIATE '$ C:\MYBATCHFILE.BAT' returns Invalid Character Error.
    BR,

  • How to simulate the escalation process

    Hi All,
    Can somebody tell me how to simulate the escalation process in service?I need to know whether all configuration in my system has done or not done yet....
    In my system if there's a problem in customer system for more than 7 hour, then system will detect the problem and send an sms/email to the person responsible in some level (ex: level 1 for SLG 95%), if the customer system still have a problem for more than 10 hour, then system will send an sms to person responsible in level 2, etc.
    I want to know how can I simulate this escalation process in CRM service manually. I'm using CRM 5.0. Any helpful answer will be rewarded. Thank you.
    Rgds,
    Aleluya sap.

    Hi Aleluya,
    You can use date types which will have the times at which the trigger of mail is supposed to happen and once the current date and time is equal to say date type 1 there can be an action setup to send a mail to a particular partner function .
    Also you can use status condition for controlling the mails ..
    hope it helps
    Cheers!
    Raj

  • How to simulate writing in flash

    Hi - I'm new to flash and just need direction to a tutorial
    on how to simulate writing. Basically I want to create a flash file
    that has wording appear like someone's typing or handwriting it.
    I'm an editor by trade and not completely green to FX, but
    completely green to flash.
    So if anyone knows of a good place to look that'd be cool.
    THANKS!

    Handwriting is much more difficult than typing. If you can
    get away with typing you can either just cover each letter of your
    sentance then "uncover" each letter in each frame to achieve the
    look of typing or buy a cheap program like:
    http://www.swishzone.com/index.php?area=products&product=max
    and have the animation done for you. And, no I don't work for
    them but I do use that program to make my life much easier when
    people ask me to do cheesy effects they have seen on the web and
    would take me a long time to animate without the program.
    -Cheers

  • How to simulate server 2012+clients connetion in virtualbox without internet connection

    Hi, I am new to this forum and also not familiar with simulation in virtualbox. I want to know how to simulate server 2012+clients connection in virtualbox without internet connection. I couldn't join the client computer (windows 7 installed) to
    the domain (the  windows server 2012). I already added the DHCP , AD DS and DNS roles features in the windows server 2012. Can someone put me through?

    If you're using VirtualBox you might be better off asking this over on their forum
    https://forums.virtualbox.org/, since it's not a Microsoft product. That said I have used it myself, and I think what you need is to ensure you're using the Internal Networking option
    http://www.virtualbox.org/manual/ch06.html#network_internal and make sure that both virtual machines have their network card setup with the same name / network ID. Once that's done you
    can configure them on the same network range and they should be able to communicate.

  • How to simulate cRIO

    Hello,
    I'm trying to find out how to simulate cRIO in LabVIEW.  I found another thread about this, but I am using the cRIO just as a chassis/DAQ not the FPGA or RTOS, basically just like a cDAQ.  I've downloaded and installed NI-RIO, but when I go into MAX to set up a Simulated NI-DAQmx device, I have no option for cRIO, I see cDAQ there.  I need to set up with a cRIO-9074 chassis
    much thanks!

    Hello Monse,
    That is correct- a RIO is a completely separate standalone device with its own OS that you can cross-compile code for and deploy to (and then communicate with once running).  DAQ devices are tethered and controlled by the DAQmx driver on the local machine and can be simulated via this driver.  You can certainly develop code without the physical RIO present- just add the model to a LabVIEW project and add the modules you intend to use to the chassis. All of your variables will be present, you just won't be able to deploy the hardware configuration or interface with the RIO. Most RT code can be run on Windows (to validate logic, if not timing), and the FPGA can be simulated, so you should be able to get pretty far without a physical controller.
    How do you intend to use the RIO?  What aspect of the hardware do you need to simulate for code development? It sounds as though your end goal is to access Scan Engine variables without deploying any RT code or configuring the FPGA at all, is that correct?  If this is the case, then all you would need to do to simulate these channels would be to deploy equivalent Network-Published Shared Variables for testing and then re-link the deployed libraries once you have the hardware. 
    I hope that's helpful- if you could specify what in particular you are trying to achieve at this time (end result and what you are trying to achieve via simulation right now) as well as why you chose this hardware platform, I and others on the forum may be able to offer more specific advice.
    Regards,
    Tom L.

  • How to simulate the underwater and fire effect with Java3D

    Hi...My project is a Java 3D game and it need to have underwater and fire effect, but I dont know how to simulate them with Java3D best..Can anyone give me some ways to make them..thank..

    You'll have to describe what effect you are looking for. Are you trying to model the surface of the water or do you want your scene to appear to be under the water? A surface can be done similar to a terrain but with transparency added to the geometry. Underwater effects would be tough if you want to distort the view of the scene. You might be able to get away with changing the field of view to be wider or rendering each frame yourself.
    For fire effects, are you looking for animated flames? If so there are a few options.
    1. Find a series of images of a fire and apply them to an OrientedShape3D through animation. This would be easiest.
    2. Build a particle system with fuzzy objects (procedural texturing). This would be much harder but more realistic.
    Mike

  • HOW to simulate the enter key???

    Hi , I have a jTable ,and i want that by leaving a specific
    cell ,to perform the same action that the enter key does!
    when im leaving my specific cell the following function is being called:
    public void editingStopped(ChangeEvent e) {
    //here I want to simulate the enter-key's action
    HOW to simulate the enter key???
    10x in advance
    Nir.
    p.s. My initial problem was that when i left my specific
    cell (the cell is editable combo box), an edited words
    which were written by me vanished , and when i get back to that cell the edited word showed again!!!
    when i pressed the enter key the edited word were stable in the cell!!!
    when I chose a word from the combo evrything was ok!!
    so if any one can solve me that problem ill be appreciate.
    thanks Nir

    yourActionListener.actionPerformed(new ActionEvent(yourCell))
    I am not sure about the constructor of actionevent.
    you could try if setText(getText()) produces a good result

  • How to simulate ModelState.IsValid in C# winform application for any model validation

    in asp.net mvc the people validate model this below way
    using System;
    using System.Data.Entity;
    using System.ComponentModel.DataAnnotations;
    namespace MvcMovie.Models {
    public class Movie {
    public int ID { get; set; }
    [Required]
    public string Title { get; set; }
    [DataType(DataType.Date)]
    public DateTime ReleaseDate { get; set; }
    [Required]
    public string Genre { get; set; }
    [Range(1, 100)]
    [DataType(DataType.Currency)]
    public decimal Price { get; set; }
    [StringLength(5)]
    public string Rating { get; set; }
    public class MovieDBContext : DbContext {
    public DbSet<Movie> Movies { get; set; }
    if (ModelState.IsValid)
    db.Movies.Add(movie);
    db.SaveChanges();
    return RedirectToAction("Index");
    now guide me how could do the model validation same way in any c# win and webform application ? guide me in details. thanks

    this question has been cross posted to forums.asp.net and to stackoverflow:
    "How to simulate ModelState.IsValid
    in any application for any model validation"
    "How
    to simulate ModelState.IsValid in C# winform application for any model validation"
    Gerry (Lowry) Ability Business Computer Services ~~ Because it's your Business, our Experience Counts!

  • How to simulate asset transaction in future

    Hi Friends,
    can someone advise how to simulate posting of transaction i.e. in next year? I mean in asset explorer simulation is not possible unless you have the period opened for posting in FI.
    Is it possible without opening the period i.e. for year 2010 ? Or is there any other way how to calculate future depreciation amount for example for year 2010 with subseq. acquisition in 11/2009. Do hope there is some program in SAP, or do you know some external tool i.e. via Excel...?
    Thank you for answers!

    Hi,
    Go to AWO1N. Give your asset details. Then on the top click on "Swithon Simulation" (Icon with three blue dots and two red dots). Then in the planned values tab, down you can find the same type of icon "Trans.Simulation" Click on that. It will take you to Simulate asset transaction. There you can give the details and simulate the depreciation.
    Regards
    shankar

  • How to simulate a web server in a PC

    Hai, I new to javaservlet.
    I don't know How to simulate a web server in a PC
    so my PC can run a javaservlet without must to upload to server(like win98 PWS personal web server).
    Which software I needed and can simulate a web server so my server side applet can run in my PC (without connected to the internet)?
    Thanks for advice
    Yonscun

    Download the tomcat server from
    http://jakarta.apache.org/site/binindex.html
    This is what I use for servlet development.
    Either that or develop your application within Sun One Studio or another IDE which has the facility to run your servlet.

  • How to simulate keyboard pressess in javaaaaa??

    can any 1 help me??
    how to simulate keyboard pressess in java..??

    [url #" style="display: block; background-image: url('http://bsllabs.theumb.net/products/sm_133_dippybird.jpg'); width: 194px; height: 129px] 

  • How to simulate discrete fourier transform using CMOS on multisim11.0

    Please tell me how to simulate discrete fourier transform(DFT) using CMOS implementation in Multisim 11.0..

    vlsi,
    If I am reading your question correctly, I think this is more of an issue of IC design rather than how to use Multisim (the circuit you describe is likely very complex and would involve many CMOS/transistor components).   If you have an existing or partial circuit already ready to start with, the group could better assist with how to implement or use in Multisim for simulation.   Although it is possible to model a comlex digital parts with CMOS equivalent logic and gates, most of the more complex digital parts in Multisim are modeled in XSPICE, which allows the behavior to be described by a truth table and timing descriptions and the pins are modeled in SPICE.
    However if you want to use a predefined DFT algorithm inline within a circuit simulation, you can likely use with a custom LabVIEW VI, we have several Fourier Transfer algorithms in which you could process a signal coming from a circuit simulation in which the transform and simulation could be run together.
    http://zone.ni.com/reference/en-XX/help/371361B-01/lvanlsconcepts/discrete_fourier_transform/
    There is an example of how this can be done with an FFT (which is a type of DFT)
    https://decibel.ni.com/content/docs/DOC-7438
    Another idea is to use our co-simulation technology in Multisim v12 together with the LabVIEW Control Design tools.   The LabVIEW Control Design package has several discrete signal processing algorithms built in and you could use them together for very precise mixed signal co-simulation between an electrical simulation and a discrete processing algorithm.
    http://www.ni.com/white-paper/13663/en
    Regards,
    Pat N

  • How to simulate blocking ?

    how to simulate blocking.?
    can any one provide script ..

    As far as I know, you can't simulate blocking. The easiest way to test if you code handles blocking appropriately is what Ed is suggesting, which is to open another connection and fire commands that will actually block whatever you want to have blocked.
    On that other connection, you should execute a statement that acquires the locks that you want simulated. The trick is to run that statement within a transaction and to not finish the transaction until you have completed your test. After that, you can rollback
    the transaction (or sever the connection) or commit it.
    The below example will keep one row exclusively locked for 20 seconds.
    BEGIN TRANSACTION
    UPDATE my_table
    SET my_int_key = -my_int_key
    WHERE my_int_key = 5
    WAITFOR DELAY '000:00:20'
    ROLLBACK TRANSACTION
    Gert-Jan

  • How to simulate 'Use Page style' for a portlet

    All,
    How do i simulate the 'use page style' feature for a custom portlet ? Currently, I have to hard code the style.
    thanks

    uploaded gif under mime repository

Maybe you are looking for

  • How to import Bridge CS4 photo gallery into Dreamweaver CS4?

    I'm a novice when it comes to web design, but am starting to master DW CS4. While searching for a way to create good looking photo galleries I found an online video explaining how to do it using Bridge. The process in Bridge was strainght forward and

  • Camera connector problem

    I have a Fujifilm F10 digital camera, iPod 4G with click wheel and camera connector. I have once successfully managed to transfer 6 photos from the camera to iPod with the connector. I just plugged them together and it did it automatically. I have no

  • Multiple Operation in Service Interface

    Hi Experts, Here is the problem - Scenario:      SOAP Adapter-> PI (7.1) -> XI Adapter -> ERP Proxy We have defined multiple operation in Service Interface using Interface pattern "Stateless". Message posted using SOAP adapter goes through PI alright

  • $ie.ExecWb(6, 2)

    I save webpages to xps files by using $ie.ExecWb(6, 2) function in PS. each of them is saved to a multi-page xps file. The script ok for long time. then I found that one of them started to save only the first page of the webpage. other webpages are s

  • Can't get nested movie clip to play

    Hi everyone, I have a movieclip on one of the frames on the maintimeline. Within this movieclip is a nested movieclip which itself is contained by another clip. The first movie clip plays to a certain frame where I've got some code telling the nested