Display the current Date on the topic title (TTITLE)

I'm using sql * more to write a report. For the current date (and time if possible), I would like to be displayed in the title of my report (TTITLE.) It seems that I'm supposed to use a system variable called _DATE, but I don't know what to do.  I am under sql * more v.10.2.

Here is my code. How can I include the current date to display in the side 'RIGHT' in the topic TTITLE?
TTITLE ON
TTITLE LEFT 'MY COMPANY' CENTER 'Weekly Invoice Totals for Cost Center: 10 - MANAGEMENT' RIGHT 'Date: ' 

set pagesize 66
set linesize 120
set wrap off

column vendor_name heading 'Supplier' format a40
column invoice_num heading 'Invoice Number' format a30
column invoice_amount heading 'Invoice Amount' format 999,999,999.99

set underline =
compute sum label TOTAL of invoice_amount on vendor_name
break on vendor_name skip 2

SELECT 
po_v.vendor_name,
ap_inv.invoice_num,
ap_inv.invoice_amount,
FROM
ap.ap_invoices_all ap_inv,
po.po_vendors po_v,
WHERE
ap_inv.vendor_id = po_v.vendor_id and
ap_inv.creation_date > SYSDATE-10;

Well, to date, you could use predefined SQL * more variable _DATE of substitution:

SQL> TTITLE LEFT 'MY COMPANY' CENTER 'Weekly Invoice Totals for Cost Center: 10 - MANAGEMENT' RIGHT 'Date: &_DATE'
SQL> SELECT 1 FROM DUAL
  2  /

MY COMPANY                             Weekly Invoice Totals for Cost Center: 10 - MANAGEMENT                        Date: 22-JAN-10
         1
----------
         1

SQL> 

Unfortunately, it has not predefined SQL * more variable substitution for the moment. You will need to use a suggestion that Frank (or if you want the date in a different format).

SY.

Tags: Database

Similar Questions

  • How to make an arch on the topic title?

    How to make an arch on the topic title?

    You can do the following entirely in any version of Pages because the text on a path is not supported. The News Gothic 'gate' in one area of text Pages. The arc of text was done in HTML5 Canvas with Javascript, then saved as a .png image, which was dragged/dropped into Pages v5.6.1. Normal means to create text curvilinear (CRA) is done by an application chart non-Apple.

  • Placeholder for the topic title in the master page?

    RH9

    If I create a new topic with No selected master page, the title of the topic that I type in the new topic dialog box would become the title of the topic in the new topic. Is good.

    If I create a new topic with the help of a master page, how to get the same result? What should I put in the master page as a variable or a placeholder so that the new title of the subject becomes the title of the topic?

    Thank you.

    Please do not take into account. Answer is use Insert a field to insert the field title. I did not see this in the manual section RH9 on the Master Pages, but found elsewhere on the web.

  • card # fails to display the topic

    I work with a developer who wants to include a degree context sensitivity in some legacy VB code.

    (1) why help refer to API\RoboHelp_CSH.csh 6\CSH C:\Program Files\Adobe\Adobe RoboHelp? This file does not exist for RoboHelp 7, so what did I miss?

    (2) he found something that allows him to call the exact topic of name of fichier.htm, but a call using that map # first open the chm, OCD displayed & good selected topic (although), but the topic is not displayed until the user presses the [Enter] key. That seems new and a little weird.

    Of course, the CSH test tool shows without fault and it doesn't seem to be something wrong with the files I provide. Then, there is a strange combination of the properties of windows at my end that prevent the display of the topic? Or what? Any ideas?

    Hi, mkpta,

    Quote:
    He found something that allows him to call the exact topic of name of fichier.htm, but a call using that map # first open the chm, OCD displayed & correct (well) selected topic, but the topic is not displayed until the user presses the [Enter] key. That seems new and a little weird.

    It is his strange. I would say that the developer take a look at some of the following publications, which are among the best available on attaching HTML Help files for Visual Basic applications:

    http://frogleg.MVPs.org/helptechnologies/HTMLHelp/hhvbsmpl.html
    http://www.smountain.com/m_ProgrammingHelp.htm#ConnectHelp
    http://www.Adobe.com/support/RoboHelp/HTMLHelp.html
    http://www.help-info.de/en/Help_Info_HTMLHelp/hh_api.htm
    http://helpware.NET/far/far_faq.htm#VBandHH

    And there are a number of other resources listed here:

    http://www.mshelpwiki.com/wiki/Tiki-index.php?page=HTMLHelpArticles

    Note that all these resources describe the use HTML Help Microsoft API. In a situation like yours, I don't think that it is necessary to use a third party (e.g., Adobe) solution; the Microsoft API provides a standard way to connect the .chm files to VB applications.

    Pete

  • Note in the topic titles when importing the problem in verbal form

    When I import a Word document into RHTML v6 I get underscores, replace the spaces in my titles of topic (I want underscores in file names). Changing the underscores in file names option has no effect.

    I remember this problem in RoboHelp X 5. Does anyone know a work around or if the same problem exists in Version 7?

    Oops. Looks like I need to update. The problem is covered in point 3 here.

    http://blogs.Adobe.com/TECHCOMM/2007/07/patches_released_for_adobe_rob.html

    That contains a link to the patch you need. It is unfortunately temporarily unavailable! I'll see if I can get it also but that will not be until tomorrow at best.

  • How to display the bar title, tabs and bookmarks toolbar?

    I am running Win8.1 and use Firefox for many years - in part, because unnecessary features are supported, the screen - as they sometimes do with Microsoft products. I seem to have stumbled in what may be an exception to this, however. [1] my Firefox title bar, tabs and bookmarks toolbar have hidden themselves - unless I have the mouse on the top of the screen. I didn't ask for this and want these features to be in the sight of all the time (as they have been for the last 10 years). Any advice? [2] secondarily, Firefox seems to have updated, perhaps, without my consent. I would like to turn that power off and keep control of my PC. Any advice for this would also be useful. Thanks in advance.

    Thanks guys... I finally figured it on mine, but you nailed.

  • When you visit some Web sites, Firefox does not display the topic sites and sometimes the text correctly. It seems broken and unreadable.

    I reinstalled a new version of Firefox and set all of the default settings, but the problem still persists. Running Windows 7 and I have tried several different browsers (IE, Safari, Chrome and Opera) and all seem to work well. Only problem is with Firefox. The only time it works great is when I do not allow the site to use their own fonts. For any help or suggestion would be greatly appreciated.

    These sites use the Helvetica font?

    There has been problems reported with older versions of the Helvetica font bitmap or Geneva or fonts (bitmap) that Firefox cannot display in this size.

    Firefox cannot display some old bitmap fonts in a larger size gibberish and display instead.

    You can test in zoom out (view > Zoom > Zoom out, Ctrl-) to make the text smaller.

    Uninstall (remove) all variants of this not working do Firefox, use another font or see if you can find a version of real type that does not show the problem.

    There was also the fonts with a reported Chinese name who self-identify as Helvetica, in order to check that as well.

    See also /tiki - view_forum_thread.php? idforum = 1...

  • Commas in the section titles, and the *.htm file names reach the hyperlink jumps?

    I have two subjects that I'm trying to move on to other topics. The thing that these two issues have in common, is that I originally used commas and apostrophes in the topic titles and the *.htm file names. This seemed to screw things, since my jumps to topics has never worked.

    I deleted the subjects that were causing problems and they added without using punctuation. I can not yet jump to these subjects. To check if there was a restriction on the maximum number of hops, you can add to a project, I created a jump to a completely different question - the jump worked.

    So, I think that something has been corrupted with these topics. I could try removing them and adding them "fresh" again, but I thought I'd post here to see if someone has encountered the problem before.

    Thanks in advance,
    ChristyG

    I managed to solve the problem by recreating (for the second time) the section titles and files and do not use any sign of punctuation of any well-founded. I think that the problem resulted from using the keywords that have been used and not used/removed/reused. I went to the tab Index, selected 'see also' in the drop-down list and delete keywords that have been put in bold.

    Kind regards
    ChristyGTWE

  • BI Layout Editor - how to display the current date?

    Hello

    Recently used BI Layout Editor (previously using MS Word to create the presentation of the State).

    He seems really nice and easy to use.

    However quick Q - How to display the current date in the layout editor (to show the report run date).

    Any quick suggestions is appreciated.

    Thank you

    Vivek

    Tab displays your selection available.

    It's like how when you insert the table in the Word document and when you select the table, you would see 2 additional tabs such as the design and the tool.

    Can you please insert "Text Element" and select the text element and see if you go to the tab 'text '?

  • How to get the current date to display in the Spanish format.

    The coding is in format Adobe Acrobat, DC. The coding I have for the English today's date is:

    var d = new Date();

    sDate = util.printd var ("dd mmmm yyyy", d);

    this.getField("Text1").value = sDate;

    How can I get the current date displayed in this Spanish format: 07 December 2015

    Thank you

    It's a little complicated... But this code should do the trick:

    util.printd("dd", d) + " de " + util.printd("date(es){MMMM}", d, true) + " de " + util.printd("yyyy", d);
    

    Edit: Fixed the code... Did not notice the 'of' second before.

  • Add 44 days to the current date and display DD mmmm yyyy

    I created a form in Acrobat Pro ms and I need a form field to display the date 44 days from the day that the form is completed.  Searched these forums and responses found that are close but they all seem to calculate the base on another field in the document.  I do not have the date of the day on the form and I'm "challenged" javascript, so cannot get out.

    For example, when the user opens the form today (October 13, 2015) the field must display on 26 November 2015.

    Thanks in advance for your help.

    Another approach would be to use JavaScript getDate() and methods setDate() for the date object.

    Get the current date object.

    var oNow = new Date();

    object of the new date

    oNew var = new Date();

    get the current date of the date object.

    var nNowDate = oNow.getDate ();

    Add 44 days at the time of the day;

    var nNewDate = nNowDate + 44;

    new date of update object;

    oNew.setDate (nNewDate);

    format of the new text string to date object.

    var cNewDate = util.printd ("dd mmmm yyyy", oNew);

    value of the field of play;

    Event.Value = cNewDate;

    show some information;

    Console.Show ();

    Console.clear();

    Console.println ("today is:" + util.printd ("dd mmmm yyyy", oNew));

    Console.println ("today's date is:" + oNow.getDate ());

    Console.println ("current date = 44 days:" + nNewDate);

    Console.println ("44 days now is:" + cNewDate);

    The script could be made more compact by combining several lines of code in one line of code:

    Get the current date object.

    var oNow = new Date();

    Add 44 days at the time of the day;

    oNow.setDate (oNow.getDate () + 44);

    value of the field of play;

    Event.Value = util.printd ("dd mmmm yyyy", oNow);

  • Dashboard prompt: display current Date earlier this week on the top in the list of choices to obiee

    Hello

    I develop a relationship where we have a requirement to indicate the start date of the week current on top in the drop-down list.

    The start date of the week is Sunday, March 10, 2013 "and Saturday weekend date is 17 March 2013", it comes directly from the source and now when I ordered it to be, goes to the week of the
    2015 or 1950 from the desc or asec.

    I want to display the start date of the current week as the default display using the dash prompt and I need digital week, I need the date: I do not have access RPD to set the variable repository.

    For example week start date (18/03/2013 and end date of week 23/03/2013), it should be dyanamic were based on the current date, it must default to this week to start and end date. Please let me know your inputs.

    Thanlks

    Try this at the prompt of-> see the-> SQL results

    SELECT Time.Date FROM 'SA' where week (Time.Date) = week (current_date) and year (Time.Date) = year (current_date)
    order of Time.Date

    If brand aid

    Published by: Srini VIEREN on March 18, 2013 21:18

  • How to display the current date in a project CP5?

    What is the best way to display the current date in captivate?

    Hello

    Use a text caption in which you insert the system variable cpInfoCurrentDate.

    Insert a variable is possible with the X in the Format of the text caption properties panel accordion:

  • How to display the current date in a Flex application

    I need to display the current date in my Flex application.  Is there a simple way to do this and post it as a text field or label?  In addition, it can be formatted to display the date as "day of the week, month, day, year"?

    Thank you!

    You can use this page and copy the following code to change the formatString property.

    http://livedocs.Adobe.com/Flex/3/langref/MX/formatters/DateFormatter.html#FormatString

    If this post answers your question or assistance, please mark it as such.

    
    http://www.adobe.com/2006/mxml"
      creationComplete="init();">
      
        
      
      
      
    
    
  • DateChooser display the current date in the format YYYY/MM/DD on init

    I have two date fields. I would like a date picker to display the current date on the complete creation and the other must show 30 days after the date of the day.

    The format must be YYYY/MM/DD.

    I get currently has the date of the day in a called var currentDate, but she returned to 11 December 2008.

    Thanks in advance.

    I have

    You can use the property formatString, like this:

Maybe you are looking for