How to let a prompt vary together with the systemdate when using scheduling

Hello,
If I schedule a report to run every month on the data of the previous month I would like to be able to change the prompt date automatically without me changing this prompt date every month. Does anyone know how I can do this?
thanks in advance
Thierry Renaer

Hi Thierry,
I could only achieve this by setting a condition in the universe to a default date. So if the date equalled the 1st January 1900 then use the system date otherwise use the date in the prompt
The code would look something like
test_date = case when @prompt('Enter date:', 'D', {MyClass\MyDate},mono,free,,,) = to_date('01/01/1900', 'DD/MM/YYY')
then sysdate
else @prompt('Enter date:', 'D', {MyClass\MyDate},mono,free,,,)
end
You can then schedule your report using 1st Jan 1900, but the user can also refresh with genuine dates
Regards
Alan

Similar Messages

  • Can I use external speakers with the iPad when using Facetime?

    Can I use external speakers with the iPad when using Facetime?  How do I do that?

    They have to be either plugged in via headphone jack or the dock port at the bottom. If you can. I've used it on apple tv, but that's it. I don't know if the others work, but I don't see why not. Try plugging in speakers in the headphone jack. You will get an answer :)

  • How do you stop hearing your self on the speakers when using the m

    I play alot of online gamming and its hard to hear others when i hear myself talking....how do i get around this i just bought the Blaster Li've 24 bit ......product part number: 70SB04000000
    I thank you for your time and help......Dragon

    As jmb78 mentions, you can just mute the microphone in the Surround Mixer, in the blue slider. As long as it's still selected in the slider for recording (red) then it will still transmit or record the signal, you just won't hear it over the speakers.
    The Surround Mixer is included with the drivers/software.
    Cat

  • Why can I no longer scroll with the mouse when using Pages?

    A few days ago, I realized that I am unable to scroll within a Pages document with the mouse.  The scroll bar is not there.  The scroll feature works fine, and after trying to figure this out myself with no success, I thought I'd ask here.  I have Pages '09 and I'm using OS X 10.9.5.

    Thanks.  That's not the problem.  Scrolling works in everything else except Pages.  I used to be able to scroll just by using my finger up or down on the mouse.  Now, I can't do that.  I tried setting the scroll bars to "Always", but then I have to physically click on the scroll bar and move it up and down.  Not like it's that much hassle, lol, but I got used to just scrolling with my finger on the mouse.

  • Can .air installer some files together with the application?

    I have an installer.air that is created by Adobe Flash. I have another file called settings.cfg which is needed for my application to run. How do let the computer auto install settings.cfg into the installation directory together with the application when i run installer.air? Currently, I need to manually place the settings.cfg into the application installed directory.

    YAY Thanks, kglad.

  • How can I create a client console and work together with the Cache Server?

    How can I edit the following Cache-Server.cmd file to create a client console and work together with the Cache Server?
    The following is the cache server file: contacts-cache-server.cmd
    @echo off
    setlocal
    if (%COHERENCE_HOME%)==() (
    set COHERENCE_HOME=c:\coherence
    set CONFIG=C:\home\oracle\coherence\Contacts
    set COH_OPTS=%COH_OPTS% -server -cp %COHERENCE_HOME%\lib\coherence.jar;C:\home\oracle\
    coherence\Contacts;C:\home\oracle\coherence\Contacts\classes;
    set COH_OPTS=%COH_OPTS% -Dtangosol.coherence.cacheconfig=%CONFIG%\contacts-cache-config.xml
    java %COH_OPTS% -Xms1g -Xmx1g -Xloggc: com.tangosol.net.DefaultCacheServer %2 %3 %4 %5 %6 %7
    :exitEdited by: junez on 23-Oct-2009 09:20

    Hi
    To run the console, change DefaultCacheServer to CacheFactory
    Paul

  • How do I let local Flash content communicate with the Intranet?

    How do I let local Flash content communicate with the
    Intranet if you don't have intenet access to set it up? you se like
    a host for example with is out of an internet conexion, but the
    flash file use a web service that it's on the intranet but can't
    config the Global security settings.....
    help!!!

    That variable could be simply called... nextSection
    If you plan to use frame labels, than nextSection would be a String, otherwise it would be an Int (integer).  So when you click the button for section X of the site, the nextSection value is assigned either the frame label or the frame number of that button's section.  Then at the end of your outro, you have a line of code.... gotoAndPlay(nextSection)
    The nextSection variable should be declared in an actions layer that only has code in frame one but extends unbroken for the full length of the timeline.  This makes it available to anywhere along the timeline where it needs to be either read or assigned.  I sually use two layers for actions... one to hold such things like this that get shared anywhere along the timeline (function/variables)... and another for frame-specific actions (stop, value assignment, function calls, etc)

  • I am using  MacBook Pro and running 10.8.4. iTunes version 11.0.4. Several of the cd's i have imported recently have been split into multiple albums by ITunes. How do I bring all the bonus tracks together with the original album?

    I am using a MacBook Pro and running 10.8.4. iTunes version 11.0.4. Several of the cd's i have imported recently have been split into multiple albums by iTunes where it has identified bonus tracks. How do I bring all the bonus tracks together with the original album?

    Hello there, Fineshot.
    The following Knowledge Base article might provide some information that should help you resolve the issue you're having:
    Why aren't songs with the same album art grouped together?
    http://support.apple.com/kb/TS1468
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro D.

  • Change grid size together with the paths sticking to it

    Hi! This is my first question in the Adobe forums!
    I have made a simple score in my own music notation with the help of the grid in AI CS7. However, I set the wrong page size and now I have to everything over again. My question is: Can I fit thwe whole thing on an art board with a smaller size along with the grid? I want to keep everything but the size of the art board. So how do I change the grid ALONG with the objects and lines that are "stuck" to it? I hope my question is clear. Let me know if it isnt and I will clarify.

    I think I fixed it. I will try later today to set the grid size the same as the width of the page and subdivide it this way. It would solve it if I could SET the artboard width to be anything: 1cm, 30cm, 100000 cm without changing the size of it.
    -Joakim
    Den 9. juni 2014 kl. 23:47 skrev Jacob Bugge <[email protected]>:
    change grid size together with the paths sticking to it
    created by Jacob Bugge in Illustrator - View the full discussion
    Joakim,
    As mentioned, the grid is a rather fluid thing, if it is the one I presume so you cannot rely on it for alignment and the like.
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6445830#6445830
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Illustrator by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • How do I create/host interactive articles with embedded video for use in browsers?

    I'm seeking a little guidance -
    How do I create/host interactive articles with embedded video for use in browsers?
    The aim is to bring together video, design, images and writing in one place. A little like Born Presents, but very accessible and user friendly.
    I'm happy using InDesign but want to create interactive articles / magazines that have embeded video files as required. I've been looking at .SWF files but I've come unstuck.
    I want people to view the articles via a blog, ideally with them opening in a lightbox style viewer. It's not intended for tablet viewing and people should be able to view and interact with the files with little effort on their part.
    I think I know how to create these files within InDesign, but I'm not so hot on web design and I'm not sure how to host these online. Does this start coming into the realms of Flash?
    If anyone could point in the right direction I'd really appreciate it - Thank you in advance.

    PDF is one thing. Folios for DPS is another. There is a little bit of
    overlap but not much.
    The interactivity in the folio overlays panel is for DPS only.

  • How to create a new variant and a job sheduled to use it for the ......

    How to create a new variant and a job sheduled to use it for the exisisting programs

    Hi
    1. The ALV Grid Control is a tool with which you can output non-hierarchical lists in a
    standardized format. The list data is displayed as a table on the screen.
    The ALV Grid Control offers a range of interactive standard list functions that users need
    frequently (find, sort, filter, calculate totals and subtotals, print, print preview, send list,
    export list (in different formats), and so on. These functions are implemented in the
    proxy object class. You as the programmer have the possibility to turn off functions not
    needed. In most cases the implementations of the standard functions provided by the
    control are sufficient. However, if required, you can adjust these implementations to
    meet application-specific needs.
    You can add self-defined functions to the toolbar, if necessary.
    The ALV Grid Control allows users to adjust the layout of lists to meet their individual
    requirements (for example, they can swap columns, hide columns, set filters for the
    data to be displayed, calculate totals, and so on). The settings (list customizing) made
    by a specific user are called a display variant. Display variants can be saved on a userspecific
    or on a global basis. If such display variants exist for a list, they can be offered
    to the user for selection. If a display variant is set as the default variant, the associated
    list is always displayed based on the settings of this variant.
    2. REUSE_ALV_LIST_DISPLAY
    REUSE_ALV_GRID_DISPLAY
    REUSE_ALV_FIELDCATALOG_MERGE
    REUSE_ALV_COMMENTARY_WRITE
    3. Use of Field Catalog is to determines the technical properties & add formating information of the column.
    6. all the definition of internal table, structure, constants are declared in a type-pool called SLIS.
    7.fieldcat-fieldname
    fieldcat-ref_fieldname
    fieldcat-tabname
    fieldcat-seltext_m
    5. Form user_command using r_ucomm like sy-ucomm rs_selfield type slis_selfield.
    Sap provides a set of ALV (ABAP LIST VIEWER) function modules which can be put into use to embellish the output of a report. This set of ALV functions is used to enhance the readability and functionality of any report output. Cases arise in sap when the output of a report contains columns extending more than 255 characters in length.
    In such cases, this set of ALV functions can help choose selected columns and arrange the different columns from a report output and also save different variants for report display. This is a very efficient tool for dynamically sorting and arranging the columns from a report output.
    The report output can contain up to 90 columns in the display with the wide array of display options.
    <b>The commonly used ALV functions used for this purpose are;</b>
    1. REUSE_ALV_VARIANT_DEFAULT_GET
    2. REUSE_ALV_VARIANT_F4
    3. REUSE_ALV_VARIANT_EXISTENCE
    4. REUSE_ALV_EVENTS_GET
    5. REUSE_ALV_COMMENTARY_WRITE
    6. REUSE_ALV_FIELDCATALOG_MERGE
    7. REUSE_ALV_LIST_DISPLAY
    8. REUSE_ALV_GRID_DISPLAY
    9. REUSE_ALV_POPUP_TO_SELECT
    Purpose of the above Functions are differ not all the functions are required in all the ALV Report.
    But either no.7 or No.8 is there in the Program.
    <b>
    How you call this function in your report?</b>
    After completion of all the data fetching from the database and append this data into an Internal Table. say I_ITAB.
    Then use follwing function module.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    I_CALLBACK_PROGRAM = 'Prog.name'
    I_STRUCTURE_NAME = 'I_ITAB'
    I_DEFAULT = 'X'
    I_SAVE = 'A'
    TABLES
    T_OUTTAB = I_ITAB.
    IF SY-SUBRC <> 0.
    WRITE: 'SY-SUBRC: ', SY-SUBRC .
    ENDIF.
    ENDFORM. " GET_FINAL_DATA
    The object F_IT_ALV has a field, the activity ACTVT, which can
    contain four permitted values: 01, 02, 03 and 70. Each of the
    activities 01, 02 and 70 controls the availability of particular
    functions (in the menu and the toolbar) of the ALV line item list:
    a) 01: "Settings -> Display variant -> Save..."
    b) 02: "Settings -> Display variant -> Current..." and
    "Settings -> Display variant -> Current header rows "
    c) 70: "Settings -> Display variant -> Administration..."
    Activity 03 corresponds to the minimum authorization, which is the
    most restricted one: The user can only select layouts which have
    been configured already. In particular, all of the other functions
    named above are inactive with activity 03.
    Now if you want to permit a user to change the column selection and
    the headers as well as to save the layout thus created, for example,
    but if you do not want to permit the user to administrate the
    layouts, you grant him or her the authorization for activities 01
    and 02.
    Check this link it will be mosty usefull for u
    http://www.sap-img.com/fu017.htm
    Reward all helpfull answers
    Regards
    Pavan

  • How do I forward a text message with the iPhone?

    How do I forward a text message with the iPhone?

    You could take a screen shot (hold and release both buttons simultaneously) and then email the resulting image to someone.
    // crude workaround for now...

  • How do I fill an Excel spreadsheet with the contents of a DataTable? (C#, OleDb)

    The following fills a DataTable with the contents of an Excel spreadsheet.
        oledbCmd.CommandText = "SELECT * FROM [" + stSheetName + "$]";
        DataTable dtDataTable = new DataTable();
        using (OleDbDataAdapter oledbAdapter = new OleDbDataAdapter(oledbCmd))
        oledbAdapter.Fill(dtDataTable);
    How do I fill an Excel spreadsheet with the contents of a DataTable?
    bhs67

    You can try this Excel library, it can help u to
    export datatable to excel to Database.
    After add the reference to your project ,add the following code:
    private void button1_Click(object sender, EventArgs e)
    //connect database
    OleDbConnection connection = new OleDbConnection();
    connection.ConnectionString @"Provider=""Microsoft.Jet.OLEDB.4.0"";Data Source=""demo.mdb"";User Id=;Password="
    OleDbCommand command = new OleDbCommand();
    command.CommandText = "select * from parts";
    DataSet dataSet = new System.Data.DataSet();
    OleDbDataAdapter dataAdapter = new OleDbDataAdapter(command.CommandText,connection);
    dataAdapter.Fill(dataSet);
    DataTable t = dataSet.Tables[0];
    //export datatable to excel
    Workbook book = new Workbook();
    Worksheet sheet = book.Worksheets[0];
    sheet.InsertDataTable(t, true, 1, 1);
    book.SaveToFile("insertTableToExcel.xls");
    System.Diagnostics.Process.Start("insertTableToExcel.xls");
    http://www.e-iceblue.com/Tutorials/Spire.XLS/Spire.XLS-Program-Guide/Data-Export-/Import-Export-Datatable-to-Excel-from-Database.html

  • How to create a custom function module with the records in SAP R/3?

    Hi All,
    How to create a custom function module with the records in SAP R/3? Using RFC Adapter I have to fetch the custom function module records.
    Regards
    Sara

    Hi
    goto se37...here u need to create a function group... then u need to create a function module. inside assign import/export parameters. assign tables/exceptions. activate the same. now write ur code within the function module
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm
    Look at the below SAP HELP links, These links will show you the way to create a Function Module
    http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm

  • I upgraded my Itunes to the latest version and now it won't let me view my library with the column browser. Can i get that back?

    i upgraded my Itunes to the latest version and now it won't let me view my library with the column browser. Can i get that back? I tried using the shortcut for it and nothing happens. When I try to do it from the view menu, it shows up as something I can't click on. The new library format is driving me crazy and I just want to get back to the old library view.

    We need to sort out some facts here first:
    •  You cannot be running Mt. Lion on your iMac G5.  What Mac is it?  What is the Model Identifier listed in About This Mac; More Info; Hardware Overview
    •  What is the model of your Epson Scanner?
    •  Have you attempted to scan using Image Capture, located in your Applications folder?
    •  Your Palm Pilot software will only run in Snow Leopard; so depending upon which Mac you have, you will either have to:
    1)  partition your hard drive or add an external hard drive and install Snow Leopard into it to "dual-boot" when you want to access you Palm software, or
    2)  install Snow Leopard Server (now available from Apple for $20 telephone orders USA & Canda only) into Parallels 8 to run your Palm software in Mt. Lion:
                                  [click on image to enlarge]

Maybe you are looking for

  • Iphone won't power on

    I just bought a used IPhone 2 days ago and everything was working fine. Today it went into sleep mode with 35% battery remaining. An hour later I pressed the home button and nothing happened. Then I tried the hold button and nothing. I plugged in the

  • Using LoadVars in SSAS to send data to a php file

    I am using FMS 4.5 and have a simple application which I want to use to send two strings to a php file. But I get a compilation error whenever I try to assign any value to these objects: Here is main.asc: <code> var variables = new LoadVars(); variab

  • Dual Monitors on t430

    I just received my new t430 and having issue with dual monitors. I am using the Intel HD 4000. I have it connected to a ThinkPad Port Replicator Series 3 (Type 4336). The docking station only support VGA connection. My new t430 only has a VGA connect

  • NFS and  LDAP on different servers: Problems with location of home director

    Dear Apple Experts. We are using LDAP server for user authentification and NFS server for home directories. Both are decictaed servers on differnt machines. on the NFS server there are directories /home/urpi for staff's home directories and /home/stu

  • Exporting PDF proof Question/Problem

    Hi. I have a strange problem. Has anyone ever heard of a issue with the exported PDF's not showing up on a Blackberry? My client is claiming that although the PDF proofs look great on the computer, when he's away from his desk, he's unable to view th