Set_block_property does not called the query from the where clause

Hi all,
I have two blocks in the Oracle form 6i. Master link with the detail. Because of the data is quite huge if I have the auto query when the form is loaded hence I have two enter parameter created of From_date and To_date together with button to execute the query when that two parameter is being filled.
I have the following quotes in the button of when-button-pressed :-
BEGIN
set_block_property('act_vw_sale_comm', default_where, 'invh_dt >='''|| to_date(:act_vw_sale_comm.fdate,'dd/mm/yyyy') ||''' and invh_dt <= ''' || to_date(:act_vw_sale_comm.tdate,'dd/mm/yyyy')||'');
go_block('act_vw_sale_comm');
execute_query;
set_block_property('act_vw_sale_comm', default_where, '');
END;
However, nothing being displayed when I click on the button. Anything wrong on the above statement ? Please help me. thanks.
Rgds
Lim

BEGIN
go_block('act_vw_sale_comm');
set_block_property('act_vw_sale_comm', default_where, 'invh_dt >= '''|| :FDATE ||''''' AND invh_dt <= '''|| :TDATE ||'''');
execute_query;
--set_block_property('act_vw_sale_comm', default_where, '');
END;
Now, I have the above statement, but still the same when try to execute the query, this time, the screen execute but does not show anything and close my form straight away. Why!
Anyone can help me?
Thanks
Lim

Similar Messages

  • WRT54GX2 does not pick up time from the network...

    I have a WRT54GX2 running firmware 1.01.14 and it does not pick up time from the network. I have PacBell (now AT&T) as an ISP and a DSL link. My old Netgear router picks up the time immediately. I am trying to figure out if I have a defective unit or if this is a firmware bug. Without the time, I can not use any of the scheduling functions, nor measure uptime.
    Does anyone have this router with the time working? I have set the appropriate time zone.
    Thanks,
    Martin

    mneiman wrote:
    Thanks for you ideas.
    The backup file appears to be binary. However in searching through it I did see 3 time related text strings, namely: clock.stdtime.gov.tw, time-b.nist.gov and time.nist.gov. I can successfully ping clock.stdtime.gov.tw and time.nist.gov. This reinforces my belief that my ISP (AT&T nee PacBell) is not blocking access.
    however ntp works on TCP port 123. ping works on udp 7 afaik. if your old netgear works i guess this is a router problem.
    have you reset the router yet? afaik press reset button for 10 seconds.
    you will however loose all settings and need to enter them again. it may however fix the issue.Message Edited by linksysinfo on 07-09-2006 03:09 AM
    Regards Simon
    NAS: TS-459 Pro - 3.6.1 Build0302T - 4 x 1TB Samsung HD103SJ : EXT4 - APC ES 700VA UPS
    QPKG: WordPress 3.4, TwonkyMedia 6.0.39 QPKG - Zenphoto1.4.2.1 [7802] - phpMyAdmin v3.3.10
    Network: Netgear DG834G V4.01.40 - DGTeam Rev. 0849 -> Cisco RV220W 1.0.4.13, Cisco SLM2008, Dlink DSM-520, Xbox360

  • My iphone5 does not have any sound from the speakers ringtones or music any suggestions?

    my iphone 5 does not have any sound from the speakers any suggestions on what culd be the problem and hopefully a fix

    Just to add to this I can hear through the small speaker and the headphones it is just the speakers for ringtones and music etc

  • How to call a query from the backing bean ?

    Hi all,
    Another question for you guys :
    I made a jspx page with an input form and a submit button.
    When I click the submit button, the action my_action in my backing bean is executed.
    This is the code :
    public BindingContainer getBindings() {
    return BindingContext.getCurrent().getCurrentBindingsEntry();
    public String my_action() {
    BindingContainer bindings = getBindings();
    OperationBinding operationBinding = bindings.getOperationBinding("EmployeesView");
    Object result = operationBinding.execute();
    if (!operationBinding.getErrors().isEmpty()) {
    return null;
    I hoped that the query 'EmployeesView' was executed in this way, but I get the following exception :
    java.lang.ClassCastException: oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding cannot be cast to oracle.binding.OperationBinding
    So how should I execute the query EmployeesView ?
    Second part of the question : What if I typed the name an employee in my form, and I want to
    execute a query that selects all the Employees with that name ?
    How do I make a query with a variable as input in the WHERE clause ?
    Thanks in advance.
    Edited by: Facehugger on 7-apr-2010 11:15

    I'm still trying all the stuff you guys says, but still no result.
    This is my backing bean :
    +// the button action+
    +public String my_action()  {+ 
    +// get the selected rows from the multiselect table and store the objectid's in an String array+
    RowKeySet rks = graph_table.getSelectedRowKeys();
    Iterator itr = rks.iterator();
    Object key;
    int nbr_objects = 0 , i = 0;
    if (rks.size()>0)  nbr_objects = rks.size();
    +String[] objectid = new String[nbr_objects];+
    while(itr.hasNext())
    +{+
    key = itr.next();
    graph_table.setRowKey(key);
    Object o = graph_table.getRowData();
    JUCtrlHierNodeBinding rowData = (JUCtrlHierNodeBinding) o;
    Row row = rowData.getRow();
    +objectid[i] = row.getAttribute("Objectid").toString();+
    i+;+
    +}+
    +// now get all the x and y values for these objectid's from the database out of the table history.+
    BindingContainer bc = BindingContext.getCurrent().getCurrentBindingsEntry();
    for (int j=0 ; j<nbr_objects; j+){+
    +// get X and Y values for object number j+
    DataPoints history = new DataPoints();
    OperationBinding operationBinding = bc.getOperationBinding("retrieveHistory");   ===> operationBinding stays NULL ???+
    +operationBinding.getParamsMap().put("OBJECTID", objectid[j]);+
    Object retVal = operationBinding.execute();
    +// ==> retVal should contain a List of all X and Y values for the provided objectid.+
    +// while (retVal has values)+
    +// {+
    +// List_of_x_values.add(retVal.valueX);+
    +// List_of_y_values.add(retVal.valueY);+
    +// }+
    history.add(List_of_x_values);
    history.add(List_of_y_values):
    +// call the soap method to do some calculations+
    methodname.forecast(history);
    +}+
    +}+
    In my application module :
    public void retrieveHistory(String objectid) {
    getHistory().setWhereClause("OBJECTID = '" + objectid + "'");
    System.out.println("current query : "+getHistory().getQuery());
    getHistory().executeQuery();
    public ViewObjectImpl getHistory() {+
    return (ViewObjectImpl)findViewObject("History");+
    The query for the VO History : SELECT * FROM HISTORY
    Please anyone ?
    Edited by: Facehugger on 9-apr-2010 14:19

  • TS2529 itunes does not let me restore from the last backup of my recently upgraded to 5.1 iphone

    I recently updated from 4.2.1 to 5.1 and now itunes does not show me the "restore from the backup of..." option. It doesn't even let me restore from any backup. I found the backup in the library and made a backup of it just in case. How can I restore from this backup if Itunes doesn't give me the option?
    Please help!

    Welcome to the discussions,
    go to iTunes/Settings and see if "Apps" is selected in General/Show:
    If yes, your App folder should be listed under "library" in the left window in iTunes again.
    There is no extra App folder listed when you click on your device in the device list.
    German version:
    Im Menü iTunes/Einstellungen/Allgemein nachschauen, ob bei "Anzeigen" die Auswahl "Apps" aktiviert ist. Danach sollte der App Ordner unter dem Punkt "Mediathek" wieder auftauchen.
    Wenn das Telefon in der Geräteliste markiert ist, gibt es den App Ordner nur auf der rechten Seite.

  • I have my first mac. the music folder does not appear in favourites from the finder menu so i cant transfer my itunes library

    I have my first mac. I want to transfer my iTunes library from my pc but the music folder does not appear in favourites when I select finder.

    Choose Home from the Finder's Go menu.
    (117823)

  • Sql loader does not skip header rows from the second infile

    Hi
    I am new to Sql Loader and trying to figure out a way to load data into the table from 2 files which have different data in the same format. The files get successfully loaded into the database with just one glitch:
    Its skips first 2 rows from the first file however it takes first 2 rows from the 2nd file which I do not want. Can anyone help me with this issue? How can i restrict loader from picking up the 2 header rows from the second file as well?
    given below is the content of the control file
    OPTIONS ( SKIP=2)
    LOAD DATA
    INFILE 'C:\loader\contacts\Italy_Wave11_Contacts.csv'
    BADFILE 'C:\loader\contacts\Contacts.bad'
    DISCARDFILE 'C:\loader\contacts\contacts.dsc'
    infile 'C:\loader\contacts\Spain_Wave11_Contacts.csv'
    BADFILE 'C:\loader\contacts\Contacts1.bad'
    DISCARDFILE 'C:\loader\contacts\contacts1.dsc'
    Truncate
    into table V_contacts_dump
    fields terminated by ',' optionally enclosed by '"'
    trailing nullcols
    (ASSISTANT_EMAIL_TX,
    ASSISTANT_NM,
    ASSISTANT_PHONE_TX,
    BUSINESS_AREA_CD,
    BUSINESS_EMAIL_TX,
    BUSINESS_FAX_TX,
    BUYER_ROLE_CD,
    COMMENTS_TX,
    COUNTRY_CD,
    COUNTY_STATE_PROVINCE_CD,
    DATE_OF_BIRTH_DT,
    DO_NOT_CALL_IN,
    DO_NOT_EMAIL_IN,
    DO_NOT_MAIL_IN,
    DOMESTIC_PARTNERS_NM,
    FIRST_NM,
    FULL_NM,
    GENDER_CD,
    INTERESTS_CD,
    LAST_NM,
    MIDDLE_NM,
    MOBILE_TX,
    OFFICE_PHONE_TX,
    OWNER_PARTY_EMAIL,
    PREFERRED_CONTACT_LANG_CD,
    PREFERRED_CONTACT_CD,
    PRIMARY_CONTACT_IN,
    REFERRED_BY_TX,
    SALUTATION_CD,
    STAC_SRC_ID_TX,
    STAC_STDS_SRC_ID,
    STCN_SRC_ID_TX,
    STREET_TX,
    STREET2_TX,
    STREET3_TX,
    SUFFIX_TX,
    TITLE_CD,
    TOWN_CITY_TX,
    ZIP_POSTAL_CD_TX )

    It would be possible to call the loader twice with only one input-File at each run.

  • Trackpoint does not work after switching from the tablet to laptop mode.

    I use my tablet to run a smartboard. Sometimes when I switch to the tablet mode and back by reversing the display, the trackpoint and mouse keys stop working. The touchpad below it still works. I am running windows 7. I have gone into the control panel, under mouse, and both the trackpoint and touchpad are still both checked. ?? When I restart the functions return.

    Hi Remaxjoe,
    Welcome to Lenovo Community Forums!
    I’m really sorry to hear that trackpoint is not working properly in your Lenovo system.
    I would suggest you to download the Ultranav drivers for your system and install it.
    Below is the link to enter downloads page and install the Ultranav driver.
    •             Support Drivers & Software downloads
    Please click on "QUICK PATH”, enter your system model and select the exact model depending on the MTM number of your device.
    Spoiler (Highlight to read)
    You can refer here for further information.
    Hope this helps!
    Best regards,
    Mithun.
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Incomplete Data on report (report does not show all records from the table)

    Hello,
    I have problem with CR XI, I'm running the same report on the same data with simple select all records from the table (no sorting, no grouping, no filters)
    Sometimes report shows me all records sometimes not. Mostly not all records on the report. When report incomplete sometimes it shows different number of records.
    I'm using CR XI runtime on Windows Server 2003
    Any help appreciated
    Thanks!

    Sorry Alexander. I missed the last line where you clearly say it is runtime.
    A few more questions:
    - Which CR SDK are you using? The Report Designer Component or the CR assemblies for .NET?
    - What is the exact version of CR you are using (from help | about)
    - What CR Service Pack are you on?
    And a troubleshooting suggestion:
    Since this works on some machines, it will be a good idea to compare all the runtime (both CR and non CR) being loaded on a working and non working machines.
    Download the modules utility from here:
    https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip
    and follow the steps as described in this thread:
    https://forums.sdn.sap.com/click.jspa?searchID=18424085&messageID=6186767
    The download also includes instructions on how to use modules.
    Ludek

  • Can an iPhoto library that does not exist be recreated from the AlbumData.xml file?

    Our iMac hard drive recently got corrupted and we hadn't backed up. (I know, I know, stupid, stupid, stupid. Won't make that mistake again!) The comptuer folk we took it too were able to recover most of the data on the drive, but my iPhoto library was not one of them.  I don't have the library - the file is gone. But I do have the AlbumData.xml file.  Is there any way to recreate the library from that file alone? I've tried it with iPhoto Library Manager and it wants me to have a default library for which this file is associated. I don't have that.  Is there any way to get this data back?  Some friends had trusted us with their wedding pictures. (I know, I know, stupid, stupid, and again, stupid. They won't make that mistake again!) I'd really, really, love to get them back if it's at all possible from this one file I do have.
    Thanks in advance for any help!

    No
    iPhoto is a SQL database and you can only create the database (the iPhoto library) using a SQL editor - using iPhoto is the best
    The database has many components and all of them must be there with exact names and in an exact structure to work
    The only way you could rereate the library is from the photos (depending on the version of iPhoto you had they would have been in the originals or masters folder)
    And yes - it is unfortuante but you have learned the most simple and basic lesson of computers - If you do not have a good current backup (I have multiple daily backups plus occasional offsite backups) you will eventually lose all of your data including your photos
    LN

  • Mail does not show all mails from the same sender

    Hello,
    I have a problem with Mail - maybe an undiscovered bug? I play lotto on the free online platform www.freelotto.com. Each day freelotto sends me 6 mail receipts for any individual lotto game I took part of. The sender is always the same in each of these mails.
    When I receive these mails on my iphone I got all the six mails I expected. The same on my ipad. But in Mail on my Mac (same settings) I got just four. Two mails are always missing!!! I have no idea why. The are not in the SPAM or any other folder (also not in the recycle bin). They are just missing at all. I also checked my mail provider but those two mails are not longer on the mail server. So Mail must have received them - but does not list them.
    What can I do?
    Regards,
         Meisinotti

    No one who could help?

  • In Flash the sound does not play only started from the beginning. Can anyone please help?

    In Flash, the sound only plays if the file is started from the beginning. The sound doesn't play if starting from anywhere other than the beginning.
    This is very frustrating when trying to sync the animation with the sound as it's not possible to scroll back and forward with the sound playing. The only way the sound works is if it is started from the beginning.
    If anyone can help that would be fantastic.
    Thanks

    Hi Jeromie,
    Many thanks for your help. Here is some additional information, which may shed light on the problem.
    I am using Flash Professional CC  2014.0 release,  Build 14.0.0.110
    The computer I'm using is then iMac running OSX version 10.9.3 Build 13D65 2.7 GHz Intel Core i5
    I am using Flash, not a web-based editor that leverages Flash Player.
    "a direct link to the project or tool would be useful in allowing us to attempt to reproduce the problem" -  Not sure how to do this, how can I add the project to the forum?
    Many thanks once again for your help, let me know if you need more information.
    Cheers
    Michael

  • My new LG exalt does not play my music from the sd micro card. my old phone was a LG wine III. why does it not play from my old lg wine to the new one

    my

        Let's get your music playing, beans3! What happens when you try to play your music from the SD card - Any error messages?  Do the songs show as downloaded to your phone? Please share details so we can help.
    TanishaS1_VZW
    Follow us on Twitter@VZWSupport

  • ORA-12060: shape of prebuilt table does not match definition query

    Oracle version: 11G Release 2
    When Iam trying to create a Materialized view with on prebuilt table syntax I am facing the below issue.
    Create table sample_table as select col1,col2,col3 from sample_view;
    table created.
    Create Materialized view sample_table on prebuilt table refresh complete on demand as
    select col1,col2,col3 from sample_view;
    I am getting the below exception
    Error report:
    SQL Error: ORA-12060: shape of prebuilt table does not match definition query
    12060. 00000 - "shape of prebuilt table does not match definition query"
    *Cause:    The number of columns or the type or the length semantics of a
    column in the prebuilt table did not match the materialized
    view definition query.
    *Action:   Reissue the SQL command using BUILD IMMEDIATE, BUILD DEFERRED, or
    ensure that the prebuilt table matches the materialized view
    definition query.
    How to resolve this issue?

    SQL> create table sample_table as
      2  select owner, table_name, tablespace_name
      3  from dba_tables
      4  where rownum < 11;
    Table created.
    SQL> Create Materialized view sample_table on prebuilt table refresh complete on demand as
      2  select owner, table_name, tablespace_name
      3  from dba_tables;
    Materialized view created.What issue?
    Which leads me to ask what version of Oracle you have because we don't know.
    SELECT *
    FROM v$version;

  • Publising the query in the role.

    Hello experts,
    Requirement:
    I was asked to assign an existing queryin the system to a particular role which is also already existing.
    Action Performed:
    I have published the query in the BEX query designer in the specified role with Publish in role option.
    Issue:
    I am able to see the query in the role in PFCG(ZS_XX_BEX_MENU ) .
    But the same i am unable to see  in Query designer when I try to open the query from the role in which I publised.
    I come out BEX and logged in again but still i am unable to see the query in the role.
    Could ayone help me to reslove this issue.
    Regards,

    Hi
    Yo can  go to the open queries in the query designer->just click (highlight) the query and then click on the third option from the left it is assign to the role.
    It wil take you to the all the role options.
    just click on your particular role and say creat.
    it will assign the query to that role.
    you can chjeck it in the roles tab.
    Also can try this
    try S_RS_FOLD to give the possibility to select query from Infoarea
    Hope this helps
    Many thanks
    Kiran

Maybe you are looking for

  • Order Confirmation - Generate IDoc even if the order is credit block - How?

    Hi EDI Experts, I have a simple requirement. I have no requirement set up in the output determination procedure for Order Confirmation. At this scenario, i am getting outbound 855 IDoc for all the orders except, the orders with Credit block on it. Th

  • How can i add a new language to iOS?? do i have to create a language pack to do it??

    how can i add a new language to iOS?? do i have to create a language pack to do it?? PLEASE help...

  • Purchased used G3 Vigor; SIM not recognized at all?

    This is my first time ever using a wireless forum to ask a question, but I figure since it's a Sunday evening and all the stores are closed, it's worth a shot asking for advice here before tomorrow! Yesterday I bought a used LG G3 Vigor (model D725)

  • BPM Help

    Hi everyone. I found this document <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5474f19e-0701-0010-4eaa-97c">Step-By-Step Approach for Implementing XI Scenarios</a> and

  • Holidays in the calendar

    Does anyone know how to display holidays like Christmas in the calendar of the Curve 8310. I am stumped.  Solved! Go to Solution.