Remember data of previous VI/program run

Hello NI Developers!
Is there a way for compiled VI to remember data for next open?
I mean: I have File-open dialog when I press button, I want that it start at default directory which was last time opened. Is there a way to do that program will remember last opened directory and next time open it for a default path ? I wanted to do this without saving any extra files with this info.
Thanks in advance. 
Message Edited by ACiDuser on 11-07-2009 08:15 PM

Well, you have to save that information someplace. If you don't want to create extra files then you can save it in the application's configuration (.ini) file. Or, if you're in Windows you can save it to the registry. At startup you can just set the start path for the file control via a property node.
Attachments:
Example_VI_BD.png ‏1 KB

Similar Messages

  • Missing Header Row When Exporting Data to Excel and Program Runs Slow

    Hello all,
    I am new to programming. I’ve dabbled with VB.NET at times over the years but this is the first time I’m trying C#. Although, it’s been quite a while since I’ve done any type of programming other than writing SQL queries at work. For the sake of trying to
    learn I have given myself a project that is something I can actually use at work. Right now I'm doing it at home. I’m querying a database on SQL Server 2008 R2; putting the data from the DB into a DataViewGrid and then exporting the data into Excel and saving
    the file on my C:\ drive. On the form I have two buttons; one that queries the DB and the other to do the export. The code below does work but I have two issues that I need assistance with:
    All of the SQL table data goes into Excel properly with the exception of it is missing the header row.
    After I click the Export button it takes a long time to create the Excel file. It takes between 2.5 and 3 minutes. It is not a big file (only 447 rows and 125 KB in size) so I don’t know why it takes so long. Does it have anything to do with the number
    of times Microsoft.Office.Interop.Excel is being referenced? I read somewhere online that is an old COM method although I’m not familiar with what a COM method is
    and why it would make things run so slow.
    When I click the button to run the SQL query and load the DataGridView it runs immediately.
    I plan on taking this project further such as adding date parameters including validation on the dates and then maybe adding buttons that can be used to insert, update and delete records. But I don’t want to go any further until the two issues mentioned
    above are resolved. Any assistance / guidance will be greatly appreciated. Here’s the code:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.Data.SqlClient;
    using Exccel = Microsoft.Office.Interop.Excel;
    using System.IO;
    namespace Bills_DB_DataGridView
        public
    partial
    class
    Form1 :
    Form
    SqlCommand sqlCMD;
    SqlDataAdapter sqlDA;
            SqlCommandBuilder sqlCB;
    DataSet sqlDS;
    DataTable sqlDT;
    public Form1()
    InitializeComponent();           
    private
    void btnExit_Click(object sender,
    EventArgs e)
    this.Close();
    private
    void btnLoad_Click(object sender,
    EventArgs e)
    string sqlCon =
    "Data Source = localhost\\DAVE_DB; Initial Catalog=Bills;Integrated security = true;";
    string sqlQry =
    "SELECT * FROM Acct ORDER BY Name, PaymentDate";
    SqlConnection connection =
    new
    SqlConnection(sqlCon);
    connection.Open();
    sqlCMD = new
    SqlCommand(sqlQry, connection);
    sqlDA = new
    SqlDataAdapter(sqlCMD);
           sqlCB = new
    SqlCommandBuilder(sqlDA);
    sqlDS = new
    DataSet();
    sqlDA.Fill(sqlDS, "Acct");
    sqlDT = sqlDS.Tables["Acct"];
    connection.Close();
    dataGridView1.DataSource = sqlDS.Tables["Acct"];
                dataGridView1.SelectionMode =
    DataGridViewSelectionMode.FullRowSelect;
    private
    void btnExport_Click(object sender,
    EventArgs e)
    Microsoft.Office.Interop.Excel.Application xlApp;
    Microsoft.Office.Interop.Excel.Workbook xlWorkBook;
    Microsoft.Office.Interop.Excel.Worksheet xlWorkSheet;
    object misValue = System.Reflection.Missing.Value;
    Int32 i, j;
    xlApp = new Microsoft.Office.Interop.Excel.Application();        
    xlWorkBook = xlApp.Workbooks.Add(misValue);
    xlWorkSheet = (Microsoft.Office.Interop.Excel.Worksheet)xlWorkBook.Worksheets.get_Item(1);          
    for (i = 0; i <= dataGridView1.RowCount - 2; i++)
    for (j = 0; j <= dataGridView1.ColumnCount - 1; j++)
    xlWorkSheet.Cells[i + 1, j + 1] = dataGridView1[j, i].Value.ToString();
    xlWorkSheet.Cells[1, 2].EntireColumn.NumberFormat = "@";
    //Format column 2 to text
    xlWorkSheet.Cells[1, 2].HorizontalAlignment = Microsoft.Office.Interop.Excel.XlHAlign.xlHAlignRight;
    xlWorkBook.SaveAs(@"c:\Bills\Bills.xls", Microsoft.Office.Interop.Excel.XlFileFormat.xlWorkbookNormal,
    misValue, misValue, misValue, misValue, Microsoft.Office.Interop.Excel.XlSaveAsAccessMode.xlExclusive, misValue, misValue, misValue, misValue, misValue);
    xlWorkBook.Close(true, misValue, misValue);
    xlApp.Quit();
    releaseObject(xlWorkSheet);
    releaseObject(xlWorkBook);
    releaseObject(xlApp);
    private
    void releaseObject(object obj)
    try
    System.Runtime.InteropServices.Marshal.ReleaseComObject(obj);
    obj = null;
    catch (Exception ex)
    obj = null;
    MessageBox.Show("Exception Occured while releasing object "
    + ex.ToString());
    finally
    GC.Collect();
    Thank you,
    Dave
    David Young

    Hello again Kristin,
    I tried the code snippet to include the headers in the Excel file but it didn't work for me. Maybe I put the code in the wrong place? Again I have put the code below including where I placed the snippet. I get no error message and the application runs. Am
    I doing something wrong?
    Thank you,
    Dave
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.Data.SqlClient;
    using Exccel = Microsoft.Office.Interop.Excel;
    using System.IO;
    namespace Bills_DB_DataGridView
        public partial class Form1 : Form
            SqlCommand sqlCMD;
            SqlDataAdapter sqlDA;
            SqlCommandBuilder sqlCB;
            DataSet sqlDS;
            DataTable sqlDT;
            public Form1()
                InitializeComponent();            
            private void btnExit_Click(object sender, EventArgs e)
                this.Close();
            private void btnLoad_Click(object sender, EventArgs e)
                string sqlCon = "Data Source = localhost\\DAVE_DB; Initial Catalog=Bills;Integrated security = true;";
                string sqlQry = "SELECT * FROM Acct ORDER BY Name, PaymentDate";
                SqlConnection connection = new SqlConnection(sqlCon);
                connection.Open();
                sqlCMD = new SqlCommand(sqlQry, connection);
                sqlDA = new SqlDataAdapter(sqlCMD);
                sqlCB = new SqlCommandBuilder(sqlDA);
                sqlDS = new DataSet();
                sqlDA.Fill(sqlDS, "Acct");
                sqlDT = sqlDS.Tables["Acct"];
                connection.Close();
                dataGridView1.DataSource = sqlDS.Tables["Acct"];
                dataGridView1.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
            private void btnExport_Click(object sender, EventArgs e)
                Microsoft.Office.Interop.Excel.Application xlApp;
                Microsoft.Office.Interop.Excel.Workbook xlWorkBook;
                Microsoft.Office.Interop.Excel.Worksheet xlWorkSheet;
                object misValue = System.Reflection.Missing.Value;
                Int32 i, j;
                xlApp = new Microsoft.Office.Interop.Excel.Application();         
                xlWorkBook = xlApp.Workbooks.Add(misValue);
                // storing header part in Excel
                xlWorkSheet = (Microsoft.Office.Interop.Excel.Worksheet)xlWorkBook.Worksheets.get_Item(1);  
                for (int h = 1; h < dataGridView1.Columns.Count + 1; h++)
                    if (dataGridView1.Columns[h - 1].Visible)
                        xlWorkSheet.Cells[1, h] = dataGridView1.Columns[h - 1].HeaderText;
                xlWorkSheet = (Microsoft.Office.Interop.Excel.Worksheet)xlWorkBook.Worksheets.get_Item(1);           
                for (i = 0; i <= dataGridView1.RowCount - 2; i++)
                    for (j = 0; j <= dataGridView1.ColumnCount - 1; j++)
                        xlWorkSheet.Cells[i + 1, j + 1] = dataGridView1[j, i].Value.ToString();
                        xlWorkSheet.Cells[1, 2].EntireColumn.NumberFormat = "@"; //Format column 2 to text
                        xlWorkSheet.Cells[1, 2].HorizontalAlignment = Microsoft.Office.Interop.Excel.XlHAlign.xlHAlignRight;
                xlWorkBook.SaveAs(@"c:\Bills\Bills.xls", Microsoft.Office.Interop.Excel.XlFileFormat.xlWorkbookNormal, misValue, misValue, misValue, misValue, Microsoft.Office.Interop.Excel.XlSaveAsAccessMode.xlExclusive,
    misValue, misValue, misValue, misValue, misValue);
                xlWorkBook.Close(true, misValue, misValue);
                xlApp.Quit();
                releaseObject(xlWorkSheet);
                releaseObject(xlWorkBook);
                releaseObject(xlApp);
            private void releaseObject(object obj)
                try
                    System.Runtime.InteropServices.Marshal.ReleaseComObject(obj);
                    obj = null;
                catch (Exception ex)
                    obj = null;
                    MessageBox.Show("Exception Occured while releasing object " + ex.ToString());
                finally
                    GC.Collect();
    David Young

  • To fetch data on the basis of last program run date and time

    Hi all,
    My query is as folows:
    I am selecting BOM components from STPO table on the basis of some criteria.
    My requirement is to select only BOM components which are newly added or created after last program run,i.e. STPO-AEDAT and STPO-ANDAT are greater than last program run.Here i fetched last program date from customised structure(client specific) which has date field also,and compared with aedat and andat in STPO records.But how can I connect it with last run time as there is no such time field in STPO table.I need to fetch this data on the basis of last program run(time+date).
    Please help me..it's crucial,
    Thanks in advance,
    Meena

    Hi,
    We had a very similar requirement.
    We developed a custom-solution for this.
    Create a Z-Table and update it with your progname, date and time.
    Whenever the BOM was changed, it generated a change number ( this has to be done by the user)
    You can get the date and time from the change Number Table AENR and compare it with the timestamp in Z-TABLE
    Hope it helps,
    RJ

  • To find last run date of custom concurrent program in oracle apps

    Hello Exports,
    Can you pls tell me how to find last run date of custom concurrent program in oracle apps.( thr Backend query )
    Thanks in advance,
    Edited by: 981527 on Mar 7, 2013 3:01 AM

    try the below:
    select fcp.user_concurrent_program_name
    ,fcr.request_date
    ,fu.user_name
    ,fcr.actual_start_date
    ,fcr.actual_completion_date
    ,fcr.phase_code
    ,fcr.status_code
    ,fcr.argument1
    ,fcr.argument2
    ,fcr.argument3
    from fnd_concurrent_programs_vl fcp
    ,fnd_concurrent_requests fcr
    ,fnd_user fu
    where fcp.user_concurrent_program_name like 'Payroll Run'
    and fcp.concurrent_program_id = fcr.concurrent_program_id
    and fcr.requested_by = fu.user_id
    order by fcr.actual_completion_date desc

  • How toStore the Date Variable and pass it when the program runs next time??

    HI All,
    My JDBC program basically needs two command line args. Rabge_Start_Dt and Range_End_Dt. for ex:
    2001-05-31 and 2001-06-01 . And my porgram should run every day. Next day the date range will be 2001-06-01 to some date. It means I have to store some how the range_end_dt and pass it as range_start_dt when my program runs the next day.
    Problem:
    How can I store the Data variable and pass it as an argument to my porgram when It runs next time. Every time my pogram runs It should pick the range start_dt (==range_end_dt of the previuos run) and end_dt I have to go and query some other data base and pass that value to it.
    Thanks in advance!!!!

    save the value in a file, then read it back in each day. Similar to when a process needs a PID.
    -blhqctz

  • Want to carry data from one standard program to another program in run time

    dear friends,
    how to Want to carry data from one standard program to another program in run time

    Hi,
    i dont know exactly the procedure, but using SUBMIT u can call another standard program in your program and can use that standard programs data. For more details check out F1.
    By

  • Program running under UAC prompt hides mapped drives

    I have a user on Windows 7 with a non-admin account who runs a program that pops up the UAC. She clicks yes and the program runs. However, since the UAC was involved, it is running with a different token than what she logged into the computer with.
    This means that the program doesn't see her mapped drives when doing a File | Open. She has to navigate to the data folder on the server via Network. Needless to say this is cumbersome and inefficient.
    What can I do so that the program sees her mapped drives? I don't know of a way to get rid of the UAC except to turn off UAC which I do not want to do.
    Jonathan

    Hi Jonathan,
    I hope this might help you.
    Running Your App with Administrator Privileges
    There are times that you may need administrator privileges for an application. You may write code that directly interacts with a piece of hardware or an app that sets machine-wide settings in HKLM. When possible, you should design your apps to limit the
    need for admin privileges to narrow sections of code, or communicate to an application started with full administrator privileges. Aside from MSI-based elevation, there are two ways to create processes with a user's full administrator token. The Application
    Information Service (AIS) will check during process creation and during the creation of a COM object using the CoCreateAsAdmin moniker to see if the
    binaries require administrator privilege. It is important to note that the elevation occurs at the time of process creation. The process token never has privileges or group membership added during run time, only when it is
    created.
    More information:
    Teach Your Apps To Play Nicely With Windows Vista User Account Control
    http://msdn.microsoft.com/en-us/magazine/cc163486.aspx#S7
    Making Your Application UAC Aware
    http://www.codeproject.com/Articles/17968/Making-Your-Application-UAC-Aware
    Thanks.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • How to get first and last date of previous month

    To set default values in selection screen,I want first and last date of the previous month.
    Also I want the first and last dates of previous quarter.
    The quarters can be only january to march, apr to june, jul to sept, oct to dec.
    I want to run a program on beginning of each month by job scheduling having <b>selection screens</b> for the above monthly and quarterly dates.

    Hi Suhas,
    Use the below code.
    DATA: v_date LIKE sy-datum.
    DATA: v_month_begin_date TYPE sy-datum,
          v_month_end_date TYPE sy-datum,
          v_month(2) TYPE n,
          v_month1(2) TYPE n,
          v_quarter TYPE i,
          v_year(4) TYPE n,
          v_quarter_begda TYPE sy-datum,
          v_quarter_endda TYPE sy-datum.
    v_month =  sy-datum+4(2).
    IF v_month = '01'.
      v_month = '12'.
      v_year = sy-datum+0(4) - 1.
    ELSE.
      v_month = v_month - 1.
      v_year = sy-datum+0(4).
    ENDIF.
    CONCATENATE v_year v_month  '01' INTO v_date.
    CALL FUNCTION 'HR_JP_MONTH_BEGIN_END_DATE'
      EXPORTING
        iv_date             = v_date
      IMPORTING
        ev_month_begin_date = v_month_begin_date
        ev_month_end_date   = v_month_end_date.
    v_month1 = sy-datum+4(2).
    IF v_month1 = '01' OR
       v_month1 = '02' OR
       v_month1 = '03'.
      v_quarter = 1.
    ELSEIF v_month1 = '04' OR
           v_month1 = '05' OR
           v_month1 = '06'.
      v_quarter = 2.
    ELSEIF v_month1 = '07' OR
           v_month1 = '08' OR
           v_month1 = '09'.
      v_quarter = 3.
    ELSEIF v_month1 = '10' OR
           v_month1 = '11' OR
           v_month1 = '12'.
      v_quarter = 4.
    ENDIF.
    IF v_quarter = 1.
      v_quarter = 4.
      v_year = sy-datum+0(4) - 1.
    ELSE.
      v_quarter = v_quarter - 1.
      v_year = sy-datum+0(4).
    ENDIF.
    CALL FUNCTION 'HR_99S_GET_DATES_QUARTER'
      EXPORTING
        im_quarter = v_quarter
        im_year    = v_year
      IMPORTING
        ex_begda   = v_quarter_begda
        ex_endda   = v_quarter_endda.
    WRITE:/5 'previous month begin date : ', v_month_begin_date.
    WRITE:/5 'previous month end date   : ', v_month_end_date.
    WRITE:/5 'previous quarter begin date : ', v_quarter_begda.
    WRITE:/5 'previous quarter end date : ', v_quarter_endda.
    Message was edited by:
            Velangini Showry Maria Kumar Bandanadham

  • Labview 8.2 applicatio​n builder - installer deletes previously installed programs

    Problem Description :
    I've been developing with LabView for 8+ years and recently had to upgrade from 6.1 to 8.2 because of compatibility issues with LabView, MAX, DAQ and SERIAL. LabView had always been so intuitive and efficient, but that has changed to some degree sometime after 6.1 IMO.  I won't get further into that, but I am having several problems with Application Builder and particularly, with creating an Installer and installing test programs.  I haven't seen many posts on this subject so I assume I am doing something wrong.
    In 6.1, I could build a program and create an installer in minutes, and all in the same step - Click on Build and the installer was created. I could also locate my files anywhere I wanted. Unfortunately the process in 8.2 is no where as simple as one has to create a build and installer separately. So far, I haven't been able to distribute my installer files where I want them according to our internal procedures. The build portion works fine and I can locate my files as needed, but not so for the installer (at least I haven't figured it out yet).  The main problem is that I have some common DLLs that I'd like to locate in a common directory for all of my programs, but it seems like I'm stuck putting them in the installation directory of every program that I write.  Again, it is fine in build.  There doesn't seem to be any flexibility in changing the location of the files in the installer.  I did see a post somewhere that mentioned that DLL files must be located in the system directory if you don't want them included in the build or installation.  I would just like to install the dlls to a common directory and not include them in every installation directory.  Just like I did in LV 6.1!
    This is a relatively minor problem compared to what happens when I try to install the programs.
    I have five separate programs for which I have recently built and created installers with the limitations that I've described above. I can install one program on my machine and it runs properly. If I try to install any of the
    other four, they will delete the previous installation - all the files are deleted (they all have different names). What I think is going on is that the installer thinks that these five programs are the same and simply overwrites the previous installation. One reason I believe this, is because I tried an installation and it failed with the error message that there was already a higher version installed. The higher version it was referring to was almost certainly the one program I could install, but certainly not a higher version of the one I was trying to install (it didn't exist yet). After I uninstalled the one program, I could install any other four. It doesn't matter if I install on  the build computer or the target computer (ATE).
    What am I doing wrong?  Please help me to resolve this problem.
    I wan't the build and install files in the same exact location:
    Example of my five programs and the locations of build and install:
    C:\KIK2-LabView\Customer Name\Base Part Number1\Program1.exe.......
    C:\KIK2-LabView\Customer Name\Base Part Number2\Program2.exe.......
    C:\KIK2-LabView\Customer Name\Base Part Number3\Program3.exe.......
    C:\KIK2-LabView\Customer Name\Base Part Number4\Program4.exe.......
    C:\KIK2-LabView\Customer Name\Base Part Number5\Program5.exe.......
    The support files will also be put in the corresponding directories. The common files were supposed to go in the KIK2-LabView directory instead of copies in every installation directory.
    Is there something I have to do with the registry? In 6.1 it was all automatic.
    I hope there are simple answers to my problems, but I have yet to find them out. I have been able to find very little info on Application Builder, and nothing that is comprehensive.
    Thanks!

    Thank for the reply, Andy
    I have scoured the Help files and this forum which helped me to create the build and installer, but they didn't address any of the problems that I described in my post.  I tried to make sure that I exhausted numerous resources before posting and requesting help.
    I appreciate the response, but you didn't quite get to my most important problem - that when I try to install a program from the created installer, it overwrites my previously installed program.  Actually I have found the answer in a different thread. --->  http://forums.ni.com/ni/board/message?board.id=140​&message.id=16146.  My problem is that I cut and pasted all of my project files and made the appropriate changes specific to each new project.  If you don't create brand new builds and installers in these projects, you will create duplicate registry keys, even though all of the names, numbers, files, etc. were changed to be completely unique.  I opened the .lvproj file in notepad and found several registry keys to be the same; here is an example:
    <Property Name="UpgradeCode" Type="Str">{831013BF-9112-45AA-BF13-A13F08098841}<​/Property>
    All of the projects that I created by cut and paste (and edit) method had this same exact key (as well as other keys) which was causing the previous install to be deleted/overwritten or gave me the message that a higher version already existed.  Again, this happened even though all of the project data was completely unique after it was edited, including the project filename (of course).  Finally, I completely rebuilt my projects from scratch starting with "New Project" and voila, they now all install properly.  Obviously, none shared any of the same registry keys. 
    I don't know if this is something that was overlooked, but it is so much easier to cut, paste and edit projects when they are very similar.   Unfortunately I have found out the hard way that new build and install spec's must be created.  Is there a change that can be made to the Project File in LabView so that when certain information changes (like the executable file name) that new registry keys will be generated?  It is obvious that you don't want someone to accidentally install a lower version of the project over a newer one, but it would have prevented my work time loss (several days) and will prevent time loss for others in the future as well.  Could you at least consider allowing the developer to generate new keys like was available in LabView 6.1?
    Also concerning the location of files, I previously had done all of what you said and can locate the build files where I want.  However, in the Installer (Source Files Tab), when I create the folders in [Windows Volume], all of the files from the build spec are put into the SAME directory, regardless of where they were located in the build spec.  If I try to delete one file, all will be removed.  I can't place individual files where I want them to go in the installer (if they are a part of the build).  Example:  In the installer, I created the subfolders KIK2-LabView\Customer\UUT Base Part Number on the [Windows Volume] directory and set the UUT Base Part Number as default.  I want most of the files to go into the default directory, but a few of the dependent dll's should go into the KIK2-LabView folder as they are common to many other programs/projects.  In short, I don't need or desire 50 copies of these dlls on my ATE.  I was able to locate the installer files anywhere in LabView Pro 6.1, but so far I can't figure out if this is possible in 8.2.  It would appear that it is not.
    Thanks,
    John W.

  • Clear table content before next program run

    Hi there,
    i've searched a long time and found many promising answers...but none actually helped on my problem:
    Please find my example vi attached (LV2012).
    After initializing my array with some values und running the program the table is populated accordingly. I stop the vi an the table is cleared. But: if i restart the vi without making any changes, the old content shows again and the array gets appended too. So, is there a way to clear a table definetly after stopping the vi. Including obscure default values?
    What i've tried so far without succes:
    Setting an empty array at the beginning
    Reset to standard values via Invoke Node
    Setting an empty array as value via Property Node
    So what am i missing?
    Thanks in advance, Erik
    Solved!
    Go to Solution.
    Attachments:
    Example.vi ‏22 KB

    Hi Erik,
    you are missing the data in the shift register!
    You should initialize shift registers when you don't need data from previous runs of the VI…
    Or get rid of the shift register when you don't need it:
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Report 2 returning data from previously ran report 1 - Plus/Viewer

    Hello,
    We have an issue running through discoverer viewer and plus.
    If you run the first report with a parameter for the year with this returns the correct data. However if you run report after the first with year 09-10, the 08-09 data is returned again from the previous report
    It doesn't matter which order you run them i.e. if you run the 09-10 first and then the 08-09 the 09-10 data is returned.
    The reports work fine when run in Discoverer Desktop.
    When 2nd report is run after first it returns the data that appears in the first. This Does not happen on Disco Desktop. The SQL from the reports also runs correctly in TOAD.
    Metalink notes suggest turning of the Webcache but this is not turned on in either apps tiers
    I have also recreated both reports and this has not made a difference either.
    Regards
    Rachael

    Hi,
    Even with webcache turned off Discoverer holds the results of the last run from plus/viewer in the application server and will return these results unless an explicit refresh is entered. Normally, if different parameters are entered this is recognised and the report is re-run. I don't know how you are running your report but for some reason it is not recognising the new parameters and returning the last result set. A refresh should return the correct results.
    Rod West

  • File generated when program run in background

    Hi,
    I have program that generates a report & all the data in the report output is down loaded to a file .please somebody make it clear:
    if I run the report in background will the file still be generated.
    thanks,
    reddy.

    Hi,
    If the program has logic to transfer the data to appliacation layer, then it works. Other wise it is not possible to download the data into your desktop by running in Background.
    Regards,
    Ashok

  • Variable last date of previous month/last date of current month

    Hello Experts,
    I am facing an issue while designing a query.
    Requirement is like this.
    Report will be run on monthly basis.so on execution of report, it should prompt for month/year.
    now on report there are two columns for which I have to get data on date basis(last date of previous month and Last date of current month).
    Can anyone tell me is there any standard variable for this? what is it?
    or how to achieve this?
    Regards,
    Nirav

    Hi,
    See if this post in this forum can help you.
    Re: Last date of a month
    Regards
    Shalabh Jain

  • I keep geting this message when trying to udate to Itunes 10.5.1 "There is a problem with the Windows Installer package. A program run as part odf the setup did not finish as expected . Contact your support prersonel or package vender"

    I keep getting this message when trying to upgrade to Itunes 10.5.1
    Driving me nuts trying to upgrade. What can I do to correct this?
    "There is a problem with the Windows Installer package.
    A program run as part odf the setup did not finish as expected .
    Contact your support prersonel or package vender"

    Yes, I had found a similar solution also.  I'm running XP Pro, SP3.  I went Control Panels/ Add-Remove programmes/apple software update/ change/ repair.  Then run the 10.5 exe.
    While the programme updated from version 8 of iTunes, my new iTunes is now a mess.  Not all of my music was in the same folder previously but it all showed up on iTunes.  Now many albums have been left out, some have only a few tracks and some have two copies of some tracks as well as having other tracks missing.  I haven't begun to work on that.

  • Is there a way to pass data between 2 seperate programs?

    I realize you can pass values to a program on boot but is there a way to pass information to a program after it's loaded? I want to make it so two seperate programs running on the same PC could exchange data back and forth. Where one program can call a program with options on boot but then that program can pass information back to the one that called it. I can also save it to a text file and constantly check if it changed but I don't think this would be practical. I can set up like a client/server but without networking services needed I think this would be a waste. Is there a better way or do you think the client/server is the best option?

    I realize you can pass values to a program on boot but
    is there a way to pass information to a program after
    it's loaded? I want to make it so two seperate
    programs running on the same PC could exchange data
    back and forth. Yes that's possible but not very straightforward and it differs from platform to platform. Anonomous pipes seems to be available everywhere but I don't think they are the most efficient

Maybe you are looking for