Border format for Page Items

So, in order to get a derived value to show in something resembling a header, I've followed a tip found elsewhere in the forum and created a calculated item, then put that calculated item into the Page Items area. Voila, this value now prints on every page. Not perfect, but close enough.
So, is there any way to fix the 'border' or 'outline' formatting? Where currently I have black lines around my Page Items that look like |______|______| ?
At the same time, is there a way to suppress the single vertical line in the data area lines? [I have only horizontal grid lines turned on... so why do we have this single vertical line on the left side?]

Hi all
Also, when alternate sorts are in use these will generally trigger Discoverer to add the NOREWRITE hint to the SQL, which can cause horribly slow performance.
I used to use alternate sorts a lot but these days I use them very sparingly. When I want a list of values to come up in a certain order I now use a custom folder and add the ORDER BY in there. This allows the list to come up right when my users are picking and stops the NOREWRITE hint, but it also removes the alternate sorting from the display.
There are other causes for the inclusion of NOREWRITE hint but this is the main one.
Best wishes
Michael

Similar Messages

  • Using SQL Query for page item source does not insert populated value

    Hi All,
    Following are the attribute details of a certain page item on an edit form:
    Display As: Text Field
    Page Item Source Type: SQL Query
    Source value Expression: SELECT a from tab where id = 'ABC'
    Although the field appears populated on the screen, but the value is not inserted in the table.
    Can anyone help on this?
    Thanks in advance,
    Annie

    Annie:
    One solution is to define a pl/sql function that given a date will return the 'run-date'. Something like create or replace function get_prod_date(p_date in date) return date is
    retval date;
    begin
    select run_date into retval from tab_x where run_date=p_date;
    return retval;
    end;Change the Source Type for the page-item back to 'Database Column'
    Set Source value or expression to the 'database column name'
    Set 'Post calculation computation' to be
    get_prod_date(:pxx_date)
    Varad

  • How to reference SQL column value for  page item text field

    greetings,
    I created a simple report based on sql query. the query is select employeeid,salary from emp_tbl. under the report column i see employeeid and salary. I created a page item text field with the source type pl/sql function body. inside this source is simple block.
    begin
    if salary < 10000 then
    return (1);
    else
    return (2);
    end if;
    end;
    from the error i take it that it doesn't understand salary. I have tried bind variable (:salary) , hash marks (#salary#), ampersand (&salary.) but nothing works. Is this even possible?
    thank you,
    mon

    Hi Mon,
    I think you will find that anything you do in Forms, you can achieve in Apex, but you may have to think a little differently. Finding direct equivalents in both environments may not be easy or even possible in some circumstances, but with a little knowledge and thought an equivalent overall business flow can be achieved that is just as efficient.
    For example, in Forms where you have a multi row block based on a table, if you need to add any derived fields then you will add these at the block level. I can see that this is what you are trying to achieve in Apex.
    In Apex this will be more easily achieved by specifying the derived fields as part of the query for the region, and if the derivation of the fields is complex you can use user defined functions. If you require page type items to be displayed such as text boxes, LOV's, radiogroups, datepickers etc then these can be embedded in the query with the use of the Apex API, see the APEX_ITEM supplied package.
    I know this is still very high level, but I hope it helps you on your way in your journey with Apex.
    Regards
    Andre

  • Is it possible to place display co-ordinate for page item

    hi,
    In any one of the reagion, if i want to display the label as "Name" in Row Number 15, column no 10 (assuming screen size is 25 rows and 80 characters ) and input column on specified row and column. (here row is vertically numbered and column is horizontally numbered) This will facilitate myself to place any page item in anywhere. Using Ajax, possibility may also be suggested so that i shall try to explore it.
    Help is thanked in advance

    dr.s.raghu,
    You can position elements using absolute positioning but this will not be as easy as it sounds. You may need to create a very specific theme (or at least a few templates) for this.
    Have a look at this:
    http://www.w3schools.com/css/pr_class_position.asp
    Regards,
    Dan
    Blog: http://DanielMcGhan.us/
    Work: http://SkillBuilders.com/apex/

  • How to set the default value for page item in report

    Hi Gurus
    I currently i have company name as page item in one of my report screen ,but it is displaying the value for company name in its drop down column ,but i want to make it "*ALL* as default after the query result ",this is user requirement ,please share ,how can i make it ,is it possible ??,thanx in advance
    thanx
    Pratap

    Hi,
    I don't think this is possible. You can of course use a parameter to select the page item and default the parameter but then the user will have to rerun the report to see other pages items.
    Rod West

  • Default Value for Page Items

    Hi,
    I use page items quite heavily in my workbooks to allow the user to filter the recordsets as they require.
    Some of these page items are based on dates - i.e. Extract Date (my underlying tables are updated on a daily basis, so the Extract Date soon contains several values).
    Is there any way I can set the Page Item to show the latest (MAX) Extract Date when the work book is opened?
    Many thanks
    Mark

    Hi all
    Also, when alternate sorts are in use these will generally trigger Discoverer to add the NOREWRITE hint to the SQL, which can cause horribly slow performance.
    I used to use alternate sorts a lot but these days I use them very sparingly. When I want a list of values to come up in a certain order I now use a custom folder and add the ORDER BY in there. This allows the list to come up right when my users are picking and stops the NOREWRITE hint, but it also removes the alternate sorting from the display.
    There are other causes for the inclusion of NOREWRITE hint but this is the main one.
    Best wishes
    Michael

  • Different format for page numbers on different pages

    Hi guys,
    Currently I'm about to finish my thesis. Pages has been a great help with everything, until now. The problem is that I want to add page numbers, but some pages should have a different numbering then others. To clarify here is my table of contents with the desired page numbers:
    -Figures          i
    -Tables          ii
    -Acronyms     iii    
    -Chapter 1     1
    -Chapter 2     15    
    -Chapter 3     27
    -Appendix     iv
    -Summary     v
    So the stuff that is not directly main content should be numbered in roman numbers. The chapters then can have normal numbers.
    I've been trying for a while to make this happen now, but without luck. Anyone know how to accomplish this? I would be very thankful.

    Divide into Sections by inserting section breaks between and make the Roman numerals the first part and restart the numbering at Chapter 1:
    Inspector > Layout > Section > Start at: 1 / uncheck Use previous headers and footers
    To change the numbering format in the header or footer, right click on the page number and choose what you want.
    Peter

  • Formatting for page number

    I use an iMac with System 10.3.9, and Appleworks 6.2.9. I frequently need the page format "Page X of Y" (For example, Page 1 of 3). Is there any way to set up this format so I can type it in with one key stroke?
    iMac   Mac OS X (10.3.9)  

    Welcome to Apple Discussions Sharon
    I'm assuming you want to put "Page x of y" in a header or footer. Actually, once you set this up it won't require any keystrokes.
    Start with a new, blank document & insert the header or footer from the Format menu. Type "Page" then [space]. Now, choose Insert Page #... from the Edit menu & leave "Page Number" selected. Type [space] of [space}. Insert Page #... again, but this time, choose "Document Page Count." You can select all of the text now in the header/footer, copy & paste it into the header/footer of any AppleWorks document & it will appear as intended without any more typing.
    Make any other changes such as margins, fonts, tabs, etc. that you want each time you create a new document with this header/footer & then Save As... a template giving the template a name. Don't change the default location & this template will then be available in Starting Points.
    Should you want all of your new documents to be in this format, save the template with the name AppleWorks WP Options. My user tip, New, blank documents with your settings, has more on creating default templates.

  • Where can I find MLA/ALA formats for pages

    My girlfriend wants to buy Office 08 because it has built-in templates for MLA/ALA. I told her with Pages 09 and Office '04 she should be able to find a template. Any ideas?

    Michael
    Simply open and convert the Word templates which you should be able to DL from Microsoft's site.
    Other places you can look:
    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=25&mforum=iworktipsn trick
    Peter

  • Page Item with Date format DD-MON-RR - APEX 32

    Hello,
    I am passing date parameter but somehow it is not formatting date properly on calendars.
    For e.g.
    Below is my calendar query
    select distinct count(*) knt, initcap(username) username, to_date(to_char(trunc(timestamp),'DD-MON-RR'),'DD-MON-RR') ts from xrx_master_records
    group by initcap(username), trunc(timestamp)In above query TS is the date column that results in DD-MON-RR format.
    Then I format column on calendar tab as shown below, here is how I am constructing the link.
    <!-- <a href="f?p=&APP_ID.:40:&APP_SESSION.::NO::P40_CAL:#USERNAME#:P40_DAILY_DATE:#TS#"
    style="color:NavyBlue;
    font-weight:bold">#USERNAME#(#KNT#) </a> -->But the issue is - #TS# field shows complete date with time stamp for page item P40_DAILY_DATE. i.e. instead of 21-JUL-10, it shows 21-JUL-2010 12:00:00 AM. That means, it is ignoring calendar query and reads straight from database.
    How can I make sure that P40_DAILY_DATE item receives date in DD-MON-RR format?
    Then, I plan to use P40_DAILY_DATE to connect with the report region by comparing timestamp column from same table with P40_DAILY_DATE.
    Please advice.
    Thanks,
    R

    Sorry but, I am expecting a more productive feedback than this.
    Let me state the obvious that, this forum is the community of SME who are volunteers. It is the precious help they provide with their insight to questions other members have. Due to the simple fact that it is purely a matter of choice whether to reply questions or not, it is perfectly justified that some of questions remain unanswered. I hope you understand this.
    And anyway, what makes you think that those question that remain unanswered on this forum, remain open forever?

  • Discoverer Report: Select all values for a Page Item

    Hi Guys
    I have created a Disco Report which has one Page Item.
    It populates all columns based on values I select for Page Item that is perfectly fine.
    How do I Display column values for all possible values of Page Item?
    Is thera ny way I can have Option to select All possible values for Page Item?
    Cheers
    Vijay

    Hi Vijay
    Just to confirm what Rod has said, this capability to manage ALL in Page Items was introduced as part of 10.1.2 and has been maintained into 10.1.2.3 and 11g. It will not be back ported to previous releases.
    Best wishes
    Michael

  • Page Item In all !!

    I want to know if there are some way to know if discoverer execute the report with the page item in <all>?
    My regards.

    Hi user604420
    Discoverer will execute the report regardless of what's in the Page items. Page items are not the same as a condition, in that, regardless of what you select for Page Items, all values will come back. Page Items only change what you see, not what's queried. A condition is the only way to limit what is selected in the query.
    Hope that helps
    Nate

  • Validating page item  to be less than 50 charachters

    Hello,
    I have created validation for page item, its string and I want it to be not more than 50 letters,
    I used PL/SQL expression and I used this one
    V('P55_MANAGER_NAME').length > 50
    I got this error
    ORA-06550: line 1, column 47: PLS-00487: Invalid reference to variable 'NEW <expression>' ORA-06550: line 1, column 7: PL/SQL: Statement ignored
    Can some one help me in having the right expression??

    TomTom101 wrote:
    Hello,
    I have created validation for page item, its string and I want it to be not more than 50 letters,
    I used PL/SQL expression and I used this one
    V('P55_MANAGER_NAME').length > 50
    I got this error
    ORA-06550: line 1, column 47: PLS-00487: Invalid reference to variable 'NEW <expression>' ORA-06550: line 1, column 7: PL/SQL: Statement ignored
    Can some one help me in having the right expression??Well to start with the basic logic is incorrect.
    length > 50means "must be longer than 50 characters".
    Secondly
    V('P55_MANAGER_NAME').length > 50is a mixture of PL/SQL and JavaScript syntax. From the error message it appears you're doing this in an APEX Post-Submit Validation?
    In which case the syntax is
    length(:p55_manager_name) <= 50

  • Snap page item to nearest column

    Hi,
    I am stuck in a problem of snapping page item to nearest column when it is moved within the document.
    I want that when the user move the page item then it should get snapped to the nearest column.
    If snapping is possible if page item is being moved then it is good otherwise its ok if page item is snapped when user releases the mouse.
    I have written the code to capture when the page item is moved. I am observering IID_ITRANSFORM_DOCUMENT. Below is the code snippet -
    if (protocol == IID_ITRANSFORM_DOCUMENT && theChange == kLocationChangedMessage && cmd->GetCommandState() == ICommand::kDone){
    const UIDList &itemList = cmd->GetItemListReference();
    // I  am able to retrieve the page item that is moved.
    // At this point, I am able to get the nearest column.
    // But when I try to move the page item at this point then it is not moving.
    Does anybody faced similar problems, any ideas what needs to be done ?
    Thanks in advance,
    Regards,
    Eric Won

    TomTom101 wrote:
    Hello,
    I have created validation for page item, its string and I want it to be not more than 50 letters,
    I used PL/SQL expression and I used this one
    V('P55_MANAGER_NAME').length > 50
    I got this error
    ORA-06550: line 1, column 47: PLS-00487: Invalid reference to variable 'NEW <expression>' ORA-06550: line 1, column 7: PL/SQL: Statement ignored
    Can some one help me in having the right expression??Well to start with the basic logic is incorrect.
    length > 50means "must be longer than 50 characters".
    Secondly
    V('P55_MANAGER_NAME').length > 50is a mixture of PL/SQL and JavaScript syntax. From the error message it appears you're doing this in an APEX Post-Submit Validation?
    In which case the syntax is
    length(:p55_manager_name) <= 50

  • Oracle Discoverer very slow when switching page items

    Hi guys,
    I'm working on a report(Discoverer Plus) which returns some product information. Parameters are a product id or a product name.
    The report has three page items.(typically these would have between 3 and 10 entries in each).
    If I run the report for our busiest product id the report completes in about 5secs.
    If I then chose something from the page item the report can then take up to 20mins to complete, doesn't seem to matter what I pick.
    I notice that if I instead refresh the report and enter a product id with little data, change the page items there and then refresh and enter the the product id of our busiest product that the report will complete in about 5secss, returning the same data as the report that will take 20 mins.
    I am new to Discoverer and have discussed this with some colleagues but they are not sure, so I'm left scratching my head.
    So I'd appreciate any insight that peeps might have in to this.
    I would have thought that once I enter a product ID all data is returned from the DB and indexed for page items, I just can't see what Discoverer is doing for 20 odd mins.
    Yours confused!
    David

    Hi Rod,
    I had the Discovery admin check oem and he can see that when the page item is selected that the cpu is busy processing the data for the 15-20 mins, no additional call is made to the database.
    I installed Discovery Desktop today and the same report changes tabs almost instantaneously through it, so I'm left scratching my head.
    I do see occasional warnings about low heap memory on the AS but on Discovery Desktop with even a 15k memory cache the report only took a few seconds to switch pages.
    The admin has advised to raise an SR with Oracle but I'd be interested in any areas to check.
    Edited by: dobrien_ie on Jun 1, 2012 3:40 PM

Maybe you are looking for

  • HT5287 Is it possible to burn an itunes playlist from a MacMini (10.5.8) to the SuperDrive in a MacBook (10.6.8)

    d

  • Install Oracle 10g on Linux

    Hi Friends, Im installing oracle 10g Db on RedHat Linux, and one of the required package glibc-2.3.4-2.9 was not found/installed at O.S. installation time. The recommendation was to download it from the Linux website, which I did. I got the file glib

  • Campaign element approval

    in our organization when ever the parent campaign is approved the campaign elements are also approved the campaign elements can also be approved manually Is there any field in the database to determine how the campaign element is approved? where appr

  • Importing from iPhoto 7 and videos

    I have an existing iPhoto library that has 27 events with approximately 1,500 photos and 20 videos. If I were to use the import function in Aperture during the splash screen what will happen with these videos in iPhoto? Will they be skipped over? Sho

  • Error in Numbers ?

    Hi, I have encountered an error in Numbers and am not sure what i'm doing wrong. Description: 1.Open a new numbers document 2.Enter "1" in "B2 and "41,1" in "C2" 3. goto "D2" and enter this "=(100-(B2*60+C2))" 4. When pressing enter i get "-1,0999999