Checkbox derived column in report

I added an HTML checkbox that has the same name for every row and a value of the pk for that row to a report. I also added a submit button.
The submit button branches back to the same page.
If I don't check ANY checkbox buttons the submit button just takes me back to the same report. If I even click one checkbox, I get a 404 "Page cannot be found" with the url saying: pls/htmldb/wwv_flow.accept
why is this procedure doing this? How can I add a derived column containing a checkbox to a report for selection of report rows for further processing or adding of these rows to a "shopping cart/basket".

Enough with this ..... link
http://www.oracle.com/technology/products/database/htmldb/howtos/checkbox.html
How many times do we have to see it in the forum....Enough.....
Its so frustrating giving the same link time and time again...And the funny
part is that most people's questions has nothing to do with that. But
still some geniuses give the same link....I just feel so sorry for people
who are struggling to get a answer and some idiots give the same link

Similar Messages

  • How can I implement an user function in a derived column of a report ?

    Hello,
    I've a report and added a derived column.
    In this column should be displayed the result of a function.
    GETANZGJMONATE ( to_date(#START_AFA#,'DD.MM.YYYY'), #ND#, :P302_GJ );
    How can I implement this?
    Thanks in advance
    Regards Ulrike

    Ulrike - I would do this in the SQL statement (there may be other ways).
    Presumably START_AFA and ND are table columns?
    Presumably you've also created the GETANZGJMONATE function?
    So, something like this should work (this also assumes that START_AFA is of a DATE type - you'll need the TO_DATE call if not):
    SELECT COL1
    , COL2
    , START_AFA
    , ND
    , GETANZGJMONATE (START_AFA, ND, :P302_GJ)
    from TABLE
    where ...
    Can't remember if you have to grant any particular execute permissions on the function ('grant execute on GETANZGJMONATE to public', for example) when you call it from SQL on a page, but you could try that if the function call fails.
    Depending on what's in :P302_GJ and what the function parameter data type is, you might need to use the '&P302_GJ.' syntax or TO_NUMBER etc.
    Hope this helps.
    Regards,
    John.

  • Report Attributes: Add column link and derived column

    On the Report Attributes page (4000:420), under the Tasks list on the right side of the page, there are 2 links, "Add column link" and "Add derived column". This is the first time I am noticing them.
    The usage is clear, they add columns to the report to function either as a drill-thru link column or just a read-only derived field.
    Doing it this way does NOT modify the source query for the report region.
    Is there any benefit to using this feature versus adding a "null column_link" or "null derived_col" columns to my source query then setting attributes for those columns?
    Thanks

    Well, one disadvantage I can see of using the 'Add Column link' is that if I have more than 1 of such columns, they all show up as '[column link]' on the Report Attributes page with no way to tell what the underlying links are. Instead, if I were to manually add these dummy columns to my query itself, I would give them meaningful column aliases that indicated where they link to.
    Suggestion: Maybe a tooltip could be added to the Report Attributes page for such columns which indicate what the underlying link is without actually going to the Edit page for that column.
    Thanks

  • Dynamic image column in report

    Hi
    I want to display either a vaue of Y or (better) a small image next to each row in a standard SQL report, but only display it if any one of 6 other column values are not null
    Can anyone advise how please ?
    I have looked at adding a derived column based on a condition but that does not seem to do it, and I can't see where to add a default value of Y.

    Hi,
    [Edit] Have you tried this :
    SELECT id, column1, column2, column3, column4, column5, column6,
           DECODE
              (column1,
               NULL, DECODE (column2,
                             NULL, DECODE (column3,
                                           NULL, DECODE
                                                     (column4,
                                                      NULL, DECODE
                                                              (column5,
                                                               NULL, DECODE
                                                                       (column6,
                                                                        NULL, 'Y',
                                                                        'N'
                                                               'N'
                                                      'N'
                                           'N'
                             'N'
               'N'
              ) AS check_null_columns
      FROM my_tableIf you prefer to display image, try to remplace 'Y' value by '< img src="your_source" ... >'.
    Hope this helps,
    Gregory

  • Adding a checkbox to a form report

    Hi there,
    I've built a multi-item form in APEX 3.1.2, based on the following query:
    SELECT id,
           ticker,
           deal_date,
           deal_type,
           no_shares,
           price_per_share,
           commision,
           stamp_duty,
           DECODE( trade_group_id, NULL, 'N', 'Y' ) AS group_ind,
           trade_group_id
      FROM trades
    WHERE ticker = 'FXPO'
    ORDER BY trade_group_id,
              ticker,
              deal_date.
    Unfortunately, I'm not hosting an image online and can't seem to figure out how to attach one to this post, so I can't show you a picture.
    I'd like to replace the GROUP_IND value with a Checkbox in the Form Report. However, when I go to Report Attributes>Column Attributes for the GROUP_IND column, I cannot choose a Checkbox to represent that editable column in the report form. In the Tabular form Section>Display As dropdown list, a Checkbox is not given as an option. The closest thing I can find is Select List (static LOV).
    Is there any way I can include a Checkbox where I want it to be? If I can, is there any way to ensure the associated report row is highlighted after the Checkbox has been ticked?
    Cheers.
    James

    Hi try this
    SELECT id,
           ticker,
           deal_date,
           deal_type,
           no_shares,
           price_per_share,
           commision,
           stamp_duty,
           APEX_ITEM.CHECKBOX(1,trade_group_id) group_ind,
           trade_group_id
      FROM trades
    WHERE ticker = 'FXPO'
    ORDER BY trade_group_id,
              ticker,
              deal_dateCheers
    Ben

  • HTML Code text appearing instead of checkbox in an interactive report

    Hi All,
    When I try to include a check box column in an interactive report only the HTML text is being displayed as
    <input type="checkbox" name="f01" value="1739" />.
    However check boxes are working fine in other application and also in other sample test reports that I've tried on...
    Could you please give any ideas as to why this is happening?
    Thanks in Advance

    Hi,
    Change column to Standard report column from report attributes.
    Br, Jari

  • Summary columns and report

    Hi,
    We are using Oracle PL/SQL procedure to dynamically generate SQL to generate a report using HTMLDB.
    Could any one give me an idea about how to indirectly instruct HTMLDB to display 'sum' value if some of the fields are selected to be part of report? It is not possible to use report attribute 'sum' function, as we don't know what fields are on the report.
    Thanks,
    Neelam

    Even if you dont know what specific fields are on the report, you need to know their column positions at least. This way, you can use the Generic Columns on the report definition go to Report Attributes and select the Sum checkbox for column Cnn.
    If neither column positions, nor number of columns nor column names are known, well then, you are out of luck. Dynamic SQL is one thing, reading your mind is another! :)

  • Reference the value of a Derived Column

    Hi Folks.
    Starting a new tread on this because the title fo the original thread which I was replying to does not address the specific issue i have now.
    If I add a [derived column] to the report definition and give put the following in the HTML Expression..
    <input type="file">
    Then I get the file browser for each row.
    Now how can I reference the value of the derived column on a row by row basis. What is the syntax for referring to the column value?
    Any assistance greatly appreciated.
    Many thanks
    Simon

    It's a case of "Close, but no cigar" I'm afraid.
    Whilst this solution will capture the 'string' selected in the column. APEX still will not put the file into the APEX_APPLICATION_FILES table.
    This would appear to be the final missing link in the chain.
    Should you, or anyone, know how to do this, please post a reply. I did find seom info in this thread...
    insert multiple files from a single form
    but I'm finding it hard to follow, especially as the original tutorial link no longer works.
    This page, by Denes Kubicek seems to do the trick for him...
    http://htmldb.oracle.com/pls/otn/f?p=31517:161:474655789644959::NO
    Have asked him if he will post the backend code.
    Simon

  • Best way to derive a "week ending" date using the Derived Column Transformations

    Hi, I have an interesting challenge. I am working on creating a BI DB that contains timesheet data. The data contains a column representing the date "worked"  ([Date]. Nearly all output reporting is based on a timesheeting week that end on
    a Wednesday. My thinking has been to create a derived column "WE" (week ending) that represents the entries of the preceding 6 days.
    (Originally I entertained deriving this value view SQL view - however we are talking about a DB that is is a substantial DB (excess of 100M timesheet bookings) and an index on the WE field is warranted) so decided a derived WE column was best approach.
    The Date field is represented from a SAP format (German long dated format) - however I cannot use the convert option ;( in the TE.
    The Date field is derived via: (DT_DATE)(SUBSTRING([Date      ],7,4) + "-" + SUBSTRING([Date      ],4,2) + "-" + SUBSTRING([Date      ],1,2))
    I would welcome some recommendation on how to best derive a WE column. (The DT_DATE format is not susceptible to a /7, mod7 operation).
    Thanks in advance,
    /L

    Try this solution :
    http://stackoverflow.com/questions/1803987/how-do-i-exclude-weekend-days-in-a-sql-server-query

  • Problem with derived column

    Hi friends,
    [Reports 6i - 6.0.8.20.1 & DB 9.2.0.8 ]
    I have problems in one report to rerieve the value of a column in my Query1 in a derived column.
    Let's say that we have a query (Q1) that obtain the departments of a company.
    And a second query that obtain certain data for each department of Q1 and (this is important) we can't (due to others requirements) use a "link" to join the querys.
    So my idea was to create a formula column (FC1) in Q1 where the departement is stored... and, out of the query, create a derived column that would have the value of FC1.
    Then ... in design model... I'll have 2 repeating frames... one based on Q1 and other based on Q2..
    Q1 Frame is ok and shows all departments... but... Q2 repeating... only shows values for 1 department... So my derived column seems not to change when the value of FC1 changes...
    Any ideas?
    Thanks,
    Jose

    If your query1 is something like
    SELECT ...
    d.deptno,
    FROM
    ...dept d
    WHERE ...
    and you want to do query2
    SELECT ...
    FROM ...
    for all departments but then split the output on display by department.
    I'd go with the suggestion from the other poster above:
    Do your query1 as
    SELECT ...Query1Fields,
    Query2Fields
    FROM Query1Tables, (put query2 here) q2
    where q2.deptno = dept.deptno -- or whatever the conditions are
    Or use
    WITH q2 AS (put query2 here)
    SELECT ...Query1Fields,
    Query2Fields
    FROM Query1Tables, q2
    where q2.deptno = dept.deptno -- or whatever the conditions are
    That second format should ensure that query2 is done as one whole unit.
    Then in the data model drag and drop the query2fields outside the query1 group to form a new group below it. Then in the layout you have a repeating group based on the query1 group and within it a repeating group based on the new "query2" group.

  • Derived column containing radio button

    Hi,
    I have a derived column in a report. In the field HTML Expression, I have the following HTML code:
    <INPUT TYPE="radio" NAME="radTypeSelectionStatut"><  
    <INPUT TYPE="radio" NAME="radTypeSelectionStatut" CHECKED>=  
    <INPUT TYPE="radio" NAME="radTypeSelectionStatut">>  
    <INPUT TYPE="test" SIZE="5" VALUE="#VAL_STATT_SELCT#">
    The page displays well but when I click on a tab, I have the error "HTTP 404 ". I have two levels of tabs and I have no problem to click on a parent tab, just on the tabs on the same level. If I don't show the column, I don't have the problem.
    Lisandre

    Hi,
    The radio buttons are not related to the database. It is possible to take the value with code later. The only code I have at the moment is what I wrote on my first post. You can check the application :
    user : test
    password : test
    http://htmldb.oracle.com/pls/otn/f?p=38145:16:8894427558050515715::NO:::
    In the parent tab "Règles d'affaires", in the tab "Paramètres", there are radio group buttons. If you click on another tab (not a parent tab), the page don't show up. But clicking on a parent tab is ok. The tabs under the parent tab "Règles d'affaires" are all fonctional when I don't show radio group buttons.

  • Derived column dot showing in CSV

    Hi, I have a derived column.
    When I unabled the report so it downloads the data into a spreadsheet,
    I see that it's showing all the column headings but not tha value.
    Is there a way to fix it so it also shows the values of the derived columns in CSV?
    Thanks,

    Hi,
    I had a similar problem. As I understand it, the csv export function re-runs the SQL statement and produces the output based on that rather than the contents of your report (which is why, for instance, you get all of the data even though your report may be paginated).
    The only solution, which I had to use, was to change the SQL statement to include the derived values rather than create them on the report definition.
    Regards,
    Andy

  • Derived Column

    I'm getting the following error when I try to add a derived column or a link to a report region having a type of PL/SQL Function Body Returning SQL Query)
    failed to parse SQL query:
    ORA-00904: "COL60": invalid identifier
    Any ideas?
    Thanks
    David

    David,
    You’re using generic column names. This setting generates 60 generic columns, and 60 columns is the maximum number of columns allowed. Adding a derived column or link column exceeds that number. So these types of column can’t be used with generic column based reports. Try enabling the “use query specific column names” option when editing your report source. This type of report would allow adding link columns and derived columns.
    Regards,
    Marc

  • Derived column source

    I have a report based on a SQL query. In this query I have some IDs which are foreign keys from other tables. I want to hide these IDs and show the names from the IDs primary table. In oracle reports I can show this as a formula column with a source as a pl/sql function. Can this be done in htmldb with derived columns, if yes where I should write the pl/sql expression?
    I know I can do this by joining the table in the main query , but eager to know the other way is possible or not?
    Recently no one answering any of my questions . Is there anything wrong I am doing? or am I being too silly. I am very new to htmldb please help
    George

    George - The most efficient SQL for your report would join all required tables and return the data you want to show. You could write a PL/SQL function to decode those foreign key IDs but that's kind of cheating (and slow).
    About no on answering your questions recently, I found that:
    Nov 3 - Carl gave a full response.
    Nov 5 - You asked a question of a person who last posted on that thread in October 2003.
    Nov 6 - You got a full response.
    Nov 7 - (server topic) You got a full response.
    Nov 7 - (wizards topic) Jes responded, you asked a follow-up, he hasn't gotten back to you but I don't really understand your question.
    Nov 7 - (fresh install topic) Your statements imply that there is no longer a problem.
    Nov 8 - (htmldb 2.0 Install help) No one responded. You should have bumped that.
    Nov 9 - You asked Holger a question in response to something he posted in February 2004.
    Nov 9 - (htmldb 2.0 with Oracle AS 10G) You got a full response from Joel.
    Nov 11 - Jes has not responded back yet. Bump it.
    Nov 14 - (Text not wrapping). No response, bump it.
    Nov 21 - (Yesterday) It hasn't been long enough to be concerned about no response, IMO.
    So there are a few posts that fell by the wayside, but I wouldn't say that you're being ignored. It might help if you provided more information in your initial postings so people don't have to ask you for more information. We do hope you'll stick around and keep asking questions when you need help.
    Scott

  • How to cast a column of a derived column in a view to NULL

    I have a derived column in my view and this column by default is picked up as not null.
    I want to cast it to null how can i do it ?
    Actual column
    column1 varchar(3) not null
    Expected column
    column1 varchar(3)  null
    Mudassar

    Shridar I  havent defined it but the derived column has been picked up as not null which is strange
    CREATE VIEW test
    AS
    SELECT 
    CASE
    WHEN COMPANY_SIZE IS NULL then  'a'
    ELSE 'b' 
    END AS
    column1 ----- added derived column identifier
    ,[Company_Size] AS [CompanySize]
    FROM xyz
    Mudassar

Maybe you are looking for

  • How to I get Graphic Drivers for Windows 7 using Bootcamp on my Late 2011 17" MacBook Pro?

    I just received my new 17" Late 2011 MacBook Pro to replace my older model MBP.  I had configured the older MBP with two 500Gb SSD drives by replacing the original hard drive and the DVD with 500Gb SSDs.  Works fine.  I then simply installed these tw

  • Can't open pdf file in window 7

    When I open pdf file, an icon is popped up showing "Adobe Reader stopped operation. Program stopped normal operation because of problem happened. Window will inform you later if probem is solved."

  • Which wireless speakers for macbook pro/ipad 2?

    I have a macbook pro 10.5.8 and ipad 2. I waant to set up wirelss speakers to play my itunes using both devices. I also habe an airport express and airport extreme.which kind of speakers shol i get: bluetooth or wi fi?

  • Making system calls in Flex

    - Can I make system calls to access the local file system? If so, is there a sample? - Can I make system calls to run local console scripts/binaries and get the output back? If so, is there a sample? Thanks,

  • Adding Custom Images to Selphy Printing software?

    Is there a way to add custom images to the Clip Art, or Frame entities within the Selphy Printing software?