Date_popup returns date to wrong colum...

Hi,
I am using wwv_flow_item.date_popup in a select statement, but the problem is it is always returning the value selected to the wrong row.
I tried many things like putting an order by clause etc, but the same problem.
I have a query as follows:
select list..
from table
union
select list
from dual
order by x;
I also tried without the union, but still the same problem. I upgraded my htmldb version from 1.3.6. to 1.5.0.0, but still the same problem.
Any help is appreciated. If this is a know bug, I shall write my own JS for date popups.
thanks,
ashok manthina.

Hi Sergio,
Thanks for the update. Here is the complete query...
select wwv_flow_item.text(1,exam_short_name,10) ExamCode
,wwv_flow_item.text(2,description,50) ExamDescr
,wwv_flow_item.date_popup(4,rownum,exam_date,'DD-MON-YYYY',15) ExamDate
,htf.anchor( 'f?p=101:54:'||:flow_session||'::NO::P54_COURSE_CODE,P54_COURSE_INSTANCE_ID,P54_EXAM_ID:'||:P52_COURSE_CODE||','||:P52_COURSE_INSTANCE_ID||','||exam_id,'<img src="/i/edit_big.gif" border="0">') e
,wwv_flow_item.hidden(6,exam_id) ExamId
,wwv_flow_item.checkbox(7,exam_id) Del
from course_exam
where course_instance_id = :P52_COURSE_INSTANCE_ID
union
select wwv_flow_item.text(1,null,10) ExamCode
,wwv_flow_item.text(2,null,50) ExamDescr
,wwv_flow_item.date_popup(4,rownum,null,'DD-MON-YYYY',15) ExamDate
,null
,wwv_flow_item.hidden(6,null) ExamId
,wwv_flow_item.hidden(7,null) ExamId
from dual
Now when I click on the date popup, and select a value it returns to either a row above or below. I could see the problem with the button that is getting generated. The JS associated with the button does not have the correct row number associated.
For e.g. the date popup button on row 3 has a call to javascript:genCalf04_0(), which obviously is wrong, it should instead be javascript:genCalf04_2()..
Thanks,
Ashok Manthina.

Similar Messages

  • Date_popup returning value to wrong row

    I have looked at the thread below and still cannot get my code to work
    Re: prevent certain rows in updateable report from being updated??
    I have a tabular form that is used for a mass approval system for managers. In this tabular form the managers are allowed to change 2 fields...that status field which is a static lov and the approval date field. The approval date field will always be null when the user comes into the form so we have this field set automatically to the sysdate. The problem we are encountering is that when we change the date field to something other than sysdate the system will send the new date from the date picker to a different row. I found the thread above and tried to implement it in my code but it is still returning the data to the wrong row. I was trying to decipher the code and wasn't really sure about it so I thought I would put my code here in hopes that someone could help me. (NOTE - I don't really need the decode statement for the date_popup but if I didn't have it I would get an error so the first part of my decode statement shouldn't ever be hit cause we don't have an approval status of P.
    Query Code
    select
    HTMLDB_ITEM.HIDDEN(1,EVAL."EVAL_ID") EVAL,
    EVAL."EVAL_ID" EVAL_ID_DISPLAY,
    HTMLDB_ITEM.SELECT_LIST(2,nvl(EVAL.APPROVE_MID,'Y'),'Approve;Y,Deny;N') MID_STATUS,
    EVAL."EMP_ID",
    EVAL."MID_BEHAVIOR_TOT_AVG",
    EVAL."MID_PERF_TOT_AVG",
    EVAL."FNAME" || ' ' || EVAL."LNAME" NAME,
    EVAL."LOCK_FLAG_MID",
    NVL(EVAL."SUPERVISOR_NAME", ' ') SUPERVISOR,
    decode(EVAL.APPROVE_MID,'p',htmldb_item.text(3,to_char(eval.approve_mid_date,'dd-mon-yyyy'),null,null,'onfocus=this.blur()')||substr(htmldb_item.date_popup(3),1,0),htmldb_item.date_popup(3,NULL,NVL(eval.approve_mid_date,SYSDATE),'dd-mon-yyyy')) mid_date
    from "#OWNER#"."EVAL", "#OWNER#"."EMPLOYEE", "#OWNER#"."TEMP_EMP"
    WHERE EMPLOYEE."SUPERVISOR" = (SELECT POS_NUM FROM EMPLOYEE WHERE TEMP_EMP.CENUM = :APP_USER AND EMP_ID = TEMP_EMP.EMP_ID) AND EMPLOYEE.EMP_ID = EVAL.EMP_ID
    Custom Submit Code
    for i in 1..htmldb_application.g_f01.count
    loop
    update eval
    set approve_mid = htmldb_application.g_f02(i)
    where eval.eval_id = htmldb_application.g_f01(i);
    commit;
    IF :P72_DATE_OVERRIDE IS NULL THEN
    update eval
    set approve_mid_dATE = htmldb_application.g_f03(i)
    where eval.eval_id = htmldb_application.g_f01(i);
    commit;
    ELSE
    update eval
    set approve_mid_date = :P72_DATE_OVERRIDE
    where eval.eval_id = htmldb_application.g_f01(i);
    end if;
    commit;
    end loop;
    HELP PLEASE!!!!!
    Thanks,
    Amber

    mtuser,
    you have to be a little bit more patient, your initial postings was just a few hours ago.
    About your problem, have a look at Re: prevent certain rows in updateable report from being updated??
    I think it explains your problem and offers a solution for it.
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • GetLiveFeatureAttrs() in MapViewer returns data for wrong coordinates

    Hi forum
    I am trying to build a small Java application to fetch and display data from MapViewer. I have a set of predefined themes and want to add a query theme, from which I can fetch further information through live features. From reading the docs, to my best understanding, the procedure to do so is this:
    1. Define a query theme with attributes and make it "clickable", and use the "raw" image format. GEOLOC is the sdo_geometry column, the rest are for the live features.
      String sqlQuery = "SELECT gravstedsnavn, nummer, areal, geoloc FROM gravsteder3 s where s.dblink in (" + retline + ")";
      mv.addJDBCTheme("bssys", "QUERY_DATA",  sqlQuery, "geoloc", "8307", null, null, null, true);
      String[] boundingThemes = { "QUERY_DATA" };
      mv.setClickable(true, "QUERY_DATA");
      mv.setImageFormat(MapViewer.FORMAT_RAW_COMPRESSED);
      mv.setBoundingThemes(boundingThemes, 0.05, true);2. I use a JPanel to render the map image, for which I want a tooltip to show the live feature given the mouse coordinate, when the mouse moves around the JPanel (mapDisplay being the JPanel):
    private void mapDisplay_mouseMoved(MouseEvent e) {
      Insets is = ((JPanel)e.getComponent()).getInsets();
      int x = e.getX() - is.left, y = e.getY() - is.top;
      mapImage = mi.getMapUrl("5", x, y, mapURL);
    }getMapUrl does the following to display the live features in a tooltiptext on the JPanel:
        String[][] test = null;
        try  {
          test = mv.getLiveFeatureAttrs(x,y,0);
        } catch (NullPointerException ex)  {
          System.out.println("No information available");
        if ((test.length == 0) || (test == null)) {
          jp.setToolTipText(null);
        } else {
          String gravstedsnavn = "";
          String gravstedsnr = "";
          String areal = "";
          if (test != null) {
            for (int i = 0; i < test.length; i++) {
              for (int j = 0; j < test.length; j++) {
    if (j == 0) {
    gravstedsnavn = test[i][j];
    if (j == 1) {
    gravstedsnr = test[i][j];
    if (j == 2) {
    areal = test[i][j];
    jp.setToolTipText("<html>Gravstedsnavn: " + gravstedsnavn + "<br>Nummer: " + gravstedsnr + "<br>Areal: " + areal +"</html>");
    This code works - the only problem is, that the attributes returned from the getLiveFeatureAttrs() function returns values from a completely different coordinate from the map than expected. I believe, that its my mouseMoved event, which causes the problem - but I havent figured out the way to pass the right mouse coordinates to getLiveFeatureAttrs().
    Does someone have a working live features example, and can anyone eventually see, what the problem with my code is?
    Thanks in advance.

    Hello Joao
    I have setup a public MapViewer server and modified your code slightly, so it can run against my server. The code should return a single rectangular polygon, and if you try moving your mouse around in the JFrame, the live features are available where they shouldn't be, ie outside the marked rectangle, so something is still not working right... Could you do me the favor to try to compile and run this code? My testsite testbooking.brandsoft.dk should be publicly viewable. Could it have something to do with the value of the SRID?
    package oracle.forms.fbean;
    import java.awt.Dimension;
    import java.awt.Graphics;
    import java.awt.Image;
    import java.awt.Insets;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseMotionListener;
    import java.awt.event.WindowEvent;
    import javax.swing.JFrame;
    import oracle.lbs.mapclient.MapViewer;
    public class livefeature extends JFrame
      static Image img = null;  //global image buffer
      static Insets is = null;  //insets inside a frame.
      final static int mapWidth = 640;
      final static int mapHeight = 480;
      MapViewer mv = null;
      private class myMouseListener implements MouseMotionListener
        public void mouseDragged(MouseEvent e) {
          public void mouseMoved(MouseEvent e) {
                int x = e.getX() - is.left;
                int y = e.getY() - is.top;
               String[][] test = mv.getLiveFeatureAttrs(x,y,0);
               if ((test.length == 0) || (test == null)) {
                 System.out.println("No livefeatures found");
               } else {
                 String gravstedsnavn = "";
                 String gravstedsnr = "";
                 String areal = "";
                 if (test != null) {
                   for (int i = 0; i < test.length; i++) {
                     for (int j = 0; j < test.length; j++) {
    if (j == 0) {
    gravstedsnavn = test[i][j];
    if (j == 1) {
    gravstedsnr = test[i][j];
    if (j == 2) {
    areal = test[i][j];
    System.out.println("<html>Gravstedsnavn: " + gravstedsnavn + "<br>Nummer: " + gravstedsnr + "<br>Areal: " + areal +"</html>");
    public livefeature()
    setTitle("MapViewer: Live Feature");
    setVisible(true);
    is = getInsets();
    System.out.println("Insets: " + is);
    setSize(mapWidth+is.left+is.right, mapHeight+is.top+is.bottom);
    this.addWindowListener(new java.awt.event.WindowAdapter() {
    public void windowClosing(WindowEvent e) { System.exit(0); }
    this.addMouseMotionListener(new myMouseListener());
    public void paint(Graphics g)
    if(img==null)
    drawGeometries(g);
    //draws the image to the screen
    if(img!=null)
    g.drawImage(img, is.left, is.top,
    img.getWidth(null), img.getHeight(null), null);
    public void drawGeometries(Graphics g)
    mv = new MapViewer("http://testbooking.brandsoft.dk/mapviewer/omserver");
    mv.setDeviceSize(new Dimension(mapWidth,mapHeight));
    mv.setAntiAliasing(true);
    mv.setDataSourceName("bssys");
    String sqlQuery = "SELECT s.gravgaardsnavn, s.gravnr, s.areal, s.geoloc FROM gravsteder3 s where s.dblink in (30200020)";
    mv.addJDBCTheme("bssys", "QUERY_DATA", sqlQuery, "geoloc", "0", "BSSYS:ROED_MARKERING", null, "BSSYS:SORT_TEKST", true);
    String[] boundingThemes = { "QUERY_DATA" };
    mv.addJDBCTheme("bssys", "QUERY_DATA_1", sqlQuery, "geoloc", "0", "BSSYS:ROED_MARKERING", null, "BSSYS:SORT_TEKST", true);
    mv.setClickable(true, "QUERY_DATA_1");
    mv.setImageFormat(MapViewer.FORMAT_RAW_COMPRESSED);
    mv.setBoundingThemes(boundingThemes, 0.05, true);
    try
    mv.run();
    img = mv.getGeneratedMapImage();
    repaint();
    } catch(Exception e)
    System.out.println("Error while rendering theme.");
    e.printStackTrace();
    public static void main(String[] args)
    new livefeature();

  • POPUPKEY_FROM_QUERY returning value to wrong row

    Hi,
    I'm running Apex 3.0.1. I have a tabular report that I'm trying to add a popup from query that returns the key/code value (instead of the display value).
    I can call the pop-up okay, but it's returning the value to the wrong table row. I can see in the naming of the Javascript functions that it's looking at the wrong row. For example, here are 4 rows in display order and the names of the Javascript function calls:
    1. javascript:genList0_f15_1()
    2. javascript:genList0_f15_3()
    3. javascript:genList0_f15_2()
    4. javascript:genList0_f15_0()
    I can see in the function call that it's passing an index that doesn't match the displayed row number here:
    "&p_element_index=" +  escape ('1') + So if I click on the LOV icon for row 1 and select one of the LOV values, it will return the value to the second displayed row (zero-based index).
    I've read here of some issues with not having all rows make the call (e.g. in this post from Patrick Wolf date_popup returning value to wrong row but all my rows have values.
    The tabular report allows sorting by column headers, which I would guess is (at least part of) what's messing the function numbering? The query generates the rows, including the function calls, but the report displays in a different order?
    Any suggestions would be greatly appreciated.
    Thanks,
    Stew
    Good luck,
    Stew
    My Oracle Community blog: http://www.oraclecommunity.net/profiles/blog/list?user=stewstryker

    Christina,
    You hit the nail on the head! The tabular form region was defined as SQL Query - without the Updateable part! I'm not sure why I didn't have it that way from the start...
    Now I just have to find and implement the Javascript that will copy the updated value that's returned by the LOV to the correct column (defined as apex_item.text). That was the only way I could figure how to allow the user to enter a value directly or select from a LOV. Clumsy but functional I believe!
    Thanks to you and Scott for the tips.
    Stew

  • How to Rectify Goods Return posted in wrong date

    Dear Expert
    Please guide me how to rectify the Goods return posted in Wrong Date.
    Regards
    Rajani patel

    DEAR GORDAN
    I am talking about Purchase Goods Return based on GRPO then how can i rectify it
    Scenario is like this
    GRPO date:10th April 2010 and client has made Goods Return in 21th Sept 2010 instead of same date of GRPO
    Regards
    Rajani P Patel

  • Query referencing session state not consistently returning data

    Hi,
    I have a form that summarizes expense data by category for employees, per fiscal year, fiscal period, and project.
    Clicking on a button next to a particular category takes the user to a new page that should display the detail of those expenses, based on expense_code.
    The expense_code is passed via URL to the second page, and the query region for the detail has the following source:
    select exp_code, JRNL_ID_NO, DESCRIPTION, REFERENCE, CUR_PER_TRAN, CUM_YTD
    from fgspec_ac where exp_code between :P118_EXPENSE_CODE_FROM and :P118_EXPENSE_CODE_TO and project=:P114_PROJECT and fis_year=:P114_FIS_YEAR and fis_period=:P114_FIS_PERIOD
    :P118_EXPENSE_CODE_FROM and :P118_EXPENSE_CODE_TO are passed via URL, and the :P114_% fields reference data on the initial form.
    The problem is that when I click on the button to bring up the detail for the first time, the query returns no rows. If I return to the original form and click on the button a second time, the query the displays the required data. This behavior is consistent, regardless of expense category, fiscal period, etc. The first time I try to access detail, no records returned, but the second time, it works.
    I have used the 'SESSION' link to debug and view the session state in each case, and the results are IDENTICAL whether the query returns data or not. That is, all 5 variables contain the exact same data.
    Do you know what I might be doing wrong?
    Thanks,
    Michelle

    Hi guys,
    Thanks very much for your replies. In fact, I have tried both methods. Yes, I am navigating from page 114 to 118, and passing values to page 118 from page 114 (ie: P114_PROJECT passes to P118_PROJECT, etc...). In my query, I have tried referencing both, with the same results.
    When checking values in session state (by using the 'SESSION' link), values from page 114 are available in both cases (when the query returns rows and when it does not). It is very strange behavior.
    I have been developing with HTMLDB for over a year now, and never seen anything like it!!! I will try loading this on HTMLDB.oracle.com, and see if it replicates, and if so, maybe you can have a look...............
    Thanks!
    Michelle

  • Answers report displaying 0s even though SQL returns data from sqlplus

    OBIEE 10.1.3.3.3
    I created a few measures in the RPD and when I run a report against them I get all zeros. I pulled the query from the session log and I ran it from SQL Plus and found that the query generated by BI Server was actually returning data (numbers other than zeros) from the SQL plus prompt.
    However for some reason those numbers are not being displayed in Answers.
    The report is a simple one with name and count as 2 columns. The count column is showing all zeros.
    When I put a filter on the report on the name column, i do get a record without the zero.
    Can someone let me know if I am missing something ?
    Edited by: qqq on Sep 9, 2009 9:50 AM

    I dont think so i understood the problem.
    Can you copy paste the query here so we would understand the problem and exactly whats going wrong?
    You are saying count column.count() of what are you taking??And whats the filter your applying??

  • Ora-06550 returning data from Stored Procedure and Entity Data Model

    Hi.
    I'm creating an application that uses a WCF Service to return data. I also created a proyect with the EDMX design and mapped most of my DBModel to a classes context. I have added some of the procedures as well. One of them receive some parameters and return a Sys_RefCursor, that is populated according to the parameters.
    I have declared the "<add >" tags in the Web.Config and imported the function of the Procedure. When I call the Asyncronous function I get different exceptions:
    1. If I call the function, with all of the parameters i get:
    Oracle.DataAccess.Client.OracleException: ORA-06550: línea 1, columna 8:
    PLS-00306: número o tipos de argumentos erróneos al llamar a
    'SP_HECHOSJURITER'
    ORA-06550: línea 1, columna 8:
    (wrong number or types of arguments in call to 'SP_HECHOSJURITER')
    2. If i just set 1 parameter in the SP, returning the same type of data, I get:
    Error al recibir la respuesta HTTP a
    http://localhost/Procalculo.CGFM.SIGOC.DatosServices/ServiceDatos.svc.
    (failed to receive http response. error 12152)
    3. If I don't set any parameters in the procedure, it works fine, and return correct data.
    It exclusively happen with one entity.
    Any clue?
    I appreciate any help.

    When you return result sets from stored procedures to Entity Framework, you are very likely using implicit result sets. Implicit result sets don't need to be declared as a parameter in code, only in the <add> tags to define the metadata in the .NET config file.
    For example, in the EF Oracle By Example, you'll see that the stored procedure in the function import has three parameters, but only two are declared in the code. The third one was defined in the config file.
    http://download.oracle.com/oll/obe/EntityFrameworkOBE/EntityFrameworkOBE.htm

  • Why recompiling a stored procedure would change returned data?

    We have a web ASP.net application and Oracle database. Everything was working fine for at least last 5 years and now we can't figure out why
    our stored procedures no longer work.
    Here is what huppening
    On our Oracle database if we do SELECT * FROM web_usertable we see every user who can ‘access’ the our system via website.
    user1 is me
    583 user1 null John q us 0 02 605
    670 user2 null Ed      Black us 0 02 693
    Information about me and user2 is in the Oracle.
    The only difference is that I have been in the database for years and user2 is for about one month.
    When I go to the website and ‘enter’ ... Website is calling USP_GETUSERPROFILE that returns all my data. Everything works fine
    When user2 performs exactly the same task no data from Oracle is being returned. (Why NOT??? Data is in the Oracle Table)
    Order of things doesn’t make any difference: I can go 1st and everything would work ... then user2 and his data isn’t working OR he can go 1st and nothing being returned and I go 2nd and everything will work for me.
    Here is what we found and it is only one of many ways we can reproduce this problem:
    I go 1st and everything would work (We know that code and Stored Procedure is working) user2 goes 2nd and no data is returned (Something is wrong)(Why NOT??? Data is in the Oracle Table)
    Without closing any windows or restarting any application or IIS or any other actions … if at this point we simply drop and recreate USP_GETUSERPROFILE all user2 data immediately comes back.
    This issue is not only occurring with user2 data. It appears that any recently added user has this problem.
    It also isn’t limited to the USP_GETUSERPROFILE procedure we found other instances when recompiling a Stored Procedure solved a problem.
    We don't even know where to look. We also suspect that it might have someting to do with .NET because some other stored procedures in our applications being executed by C++ code don't have this problem.
    Edited by: user11296530 on Aug 21, 2009 10:56 AM

    terrn wrote:
    that would do it, I guess
    now the newbie question: within the function block: how do I assign the results va1 and va2 from a select query into the attributes of the object? I couldn't find an example where that's demonstrated (if possible).
    simplified I should have:
    create or replace function my_function(a number, b varchar2) return my_type
    as
    my_obj my_type;
    begin
    -- here:
    select val1, val2 from table1 -- this is always only one row
    -- my_obj := my_type(a,b); -- how do I assign those here?
    return my_obj;
    end
    select my_type(val1,val2) into my_obj
    from table1;Edited by: Toon Koppelaars on Feb 24, 2011 10:16 AM

  • Return Date object from StoredProcedureCall

    Hi,
    I have a simple call to a StoredProcedure through toplink which returns date parameter. I want to know if I can retrieve a Timestamp or a Date object from executeQuery().
    I get a ClassCastException every time I do that. It works only if I retrieve it as a string. Am I doing something wrong? My code is as follows -
    Session session = getSessionFactory().acquireSession();
    StoredProcedureCall call = new StoredProcedureCall();
    call.setProcedureName("PROC_NAME");
    call.addNamedArgument("P_1");
    call.addNamedArgument("P_2");
    call.addNamedArgument("P_3");
    call.addNamedOutputArgument("P_TRX_DT");
    ValueReadQuery query = new ValueReadQuery();
    query.setCall(call);
    query.addArgument("P_1");
    query.addArgument("P_2");
    query.addArgument("P_3");
    Vector parameters = new Vector();
    parameters.addElement(govNum);
    parameters.addElement(areaCode);
    parameters.addElement(trxType);
    Timestamp trxDateTime = (Timestamp) session.executeQuery(query, parameters);
    Thanks

    In your call to call.addNamedOutputArgument("P_TRX_DT"); , you haven't specified the OUT type of of the arguement "P_TRX_DT". If you dont specify the type, it defaults to java.lang.String. you call should be something along the lines of
    Timestamp P_TRX_DT = null;
    call.addNamedOutputArgument("P_TRX_DT",  // parameter name in stored procedure i.e. the stored procedure should have an OUT parameter name that is exactly
                                                                    // same as P_TRX_DT
                                               "P_TRX_DT",  //arguement name (variable name represesenting the OUT value in java code i.e. declararion from above)
                                               java.sql.Timestamp // Java type that maps to the SQL type returned by the proc i.e. the OUT type map to java type
    //without the comments it should look like this
    call.addNamedOutputArgument("P_TRX_DT","P_TRX_DT",java.sql.Timestamp); Can you post your stored function as well. Also you may want to have a look @ http://www.oracle.com/technology/products/ias/toplink/doc/1013/MAIN/_html/qrybas004.htm. See how DatabaseRecord is used to capture the returned value

  • J2I8 " Cannot reconcile : Crossed Return Date, please reverse".

    Hello Experts,
    While doing an Capital Goods transfer through J2I8 system is throwing the " Cannot reconcile : Crossed Return Date, please reverse".
    After analysis, I have observed that, at the time of double clicking on the Part 2 Serial Number, system is not displaying the respecting  Accounting like as below
    its giving an blank document number while double clicking on the part 2 of serial number, but no accounting document was there in place & its giving an error message while doing the transfer " Cannot reconcile : Crossed Return Date, please reverse".
    I have attached document of the error message since server was not allowed to paste the error screens.
    Regards
    Raj

    Have a look at the following notes:-
    Note 575481 - Error Message 8I(582) in J2I8 when CENVAT amount is odd
    Note 629832 - Wrong CENVAT value gets proposed during transfer credit-J2I8
    G. Lakshmipathi

  • How to view the returned data from a stored procedure in TOAD?

    Hi,
    I created ref cursor in the stored procedure to return data. The stored procedure works fine, just want to view the result in TOAD. The BEGIN... EXEC... END can execute the stored procedure, but how to make the result display?
    Thanks!

    Right click the editor and choose
    "Prompt For Substitution Variables".
    Run for example the following code:
    DECLARE
    PROCEDURE p (cur OUT sys_refcursor)
    AS
    BEGIN
    OPEN cur FOR
    SELECT *
    FROM DUAL;
    END p;
    BEGIN
    p (:cur);
    END;
    The result will display in Toad's Data Grid!
    Regards Michael

  • Can not find Flush Return Data Buffer.vi

    When I try to start my Labview program I get a "Error -70025 occurred at Read Home Input Status.vi" because the Return Data Buffer is not empty.
    I searched for the Flush Return Data Buffer.vi in the Labview library but it is not there.
    Where can I find it?

    Hello Mishka,
    The Flush Return Data Buffer.vi should be located in your functions palette at Vision and Motion>>73xx>>Advanced>>Flush RDB.vi. Alternatively, you can press ctrl+space on your keyboard to open the quick drop menu and then search for Flush RDB.vi. 
    Regards,
    J_Bou

  • Can I return my MacBook Air past the return date?

    Hi, I have a question that I've been googling but I haven't been able to find an answer to anywhere. Can I return a MacBook Air past the return date to an Apple store if it is still in shrink-wrap and I have a receipt? Thanks.

    I would think you cannot return a product after the return date has passed.
    Call the Apple Store and ask them.

  • Return data from all columns apart from a certain data type.

    Bit stuck on something, hope somebody here can help:
    I want to do a 'select * from ' a table, to return all columns except ones of a certain datatype. ie. I want to return data from all columns, excluding columns of datatype 'SDO_GEOMETRY'.
    This gives me the list of columns:
    SELECT COLUMN_NAME
    FROM   USER_TAB_COLUMNS
    WHERE TABLE_NAME = 'ORDER_ITEM'
    AND   DATA_TYPE <> 'SDO_GEOMETRY'; But I can't seem to take it any further...
    Now if I knew the columns beforehand, then of course I could just list them, excluding the geometry column, but this is to be used for a plug-in for MS Word, where a user can pick database columns to dynamically fill a report from - but I don't want the geometry columns as these can't be handled in this way.

    Hi Reggie,
    > connects to the database and presents a list of tables
    My guess is that this macro is written so it selects from all_tab_cols.
    Change that plugin and let it select from a view like the one above. That way, the users won't be able to see/pick anything that you are not able/willing to present for them.
    Edit:
    You could even tease your users, and let them see the columns, but not being able to pick them.
    create or replace view available_tab_columns
    as
       select decode(pickable.data_type, null, 0, 1) pickable
             ,atc.* -- narrow down yourself
         from all_tab_cols atc  -- or maybe user_tab_cols
             ,(select 'CHAR' data_type from dual union all
               select 'DATE' from dual union all
            select 'NUMBER' from dual
               -- complete positive list, yourself
              ) pickable
        where atc.data_type = pickable.data_type(+);Regards
    Peter
    Message was edited by:
    Peter Gjelstrup

Maybe you are looking for

  • Spry Horizontal Menu Bar Shift Error in IE

    My horizontal submenus keep shifting to the right in Internet Explorer. See here: home test . I've downloaded and replaced the js with this "fix" ( http://labs.adobe.com/technologies/spry/widgets/menubar/SpryMenuBar.js) but it's still not working. Th

  • Icon Folder with question mark

    Hi My MacBook doesn't boot anymore. When i start up my mac, I get an icon with a folder with a flashing question mark in it. I tried to re-install the OS but when it gets to the part where it asks where to install everything, my hard disk doesn't app

  • *bold*Automated Batch Printing

    How do i code automated batch printing. I had no idea how to start and I had read up most online help on Google but still I can't figure out how to do automated batch printing in Java I am required to read a folder consists of multiple RTF files. Its

  • ARE-1 form Printing

    Hi All, My query is regarding to take the print of ARE-1 form after creating ARE-1 doucment via TC: J1IA101. I can take the print only while creating ARE-1. But if I want to take the same print via TC: J1IA101 in Display mode, the print option is not

  • Flash and SEO - The real story please!

    I read up on this as there are so many articles with yes and nos. Can someone here please let me know how I can make a Flash based website, that  be seen by search engines? All my Flash sites sit inside either a homepage container in xhtml. Then I re