How can i make my form open a .txt file????

hi every body,
i need some help with that..
i want my form to open a txt file, or at least copy that file from a specific source (windows folder) to a specific destination (another windows folder).
note that this all will work on the server and the client.
i hope to find some help.
thnxxxxxx.
plzzz i need help, it's a GRADUATE PRODUCT issue.
sorry i'm not that strong, it gives me error with host command.
Message was edited by:
bondo2

declare
in_file Text_IO.File_Type;
out_file Text_IO.File_Type;
begin
in_file := Text_IO.Fopen('salary.txt', 'r'); -- open file in read mode
out_file := Text_IO.Fopen('bonus.txt', 'w'); -- open file in write mode
end;
for copy of the file:
host(copy c:\test.txt c:\new_folder\);
Hope this helps !!

Similar Messages

  • I have an ipad mini. From one moment to another a document that was created and used on pages app ( on the ipad mini) does not want to open ( When pressed it states " document cant be opened). How can I make this document open again?

    I have an ipad mini. From one moment to another a document that was created and used on pages app ( on the ipad mini) does not want to open ( When pressed it states " document cant be opened). How can I make this document open again?
    I have tried back ups and  restoring, resetting, and even updating the pages app. And nothing has worked.

    I have an ipad mini. From one moment to another a document that was created and used on pages app ( on the ipad mini) does not want to open ( When pressed it states " document cant be opened). How can I make this document open again?
    I have tried back ups and  restoring, resetting, and even updating the pages app. And nothing has worked.

  • How can I make a form show complex composite data?

    How can I make a form show complex composite data?
    We would like a form to display the following information:
    Employee Names as the columns, 1 row for each calendar day, and each item in the block containing the total sales amount (and other information) for that employee for that day.
    This would require the block to function as a (composite) crosstab report.
    Here is an example:
    We have employees: Jane, John, Jim, and Janice
    We would like to see their total sales for the following days: 5/1 .. 5/5
    Jane John Jim Janice
    5/1 50 8 10 3 30 5 20 7
    5/2 40 7 60 8 10 2 30 4
    5/3 20 3 50 8 70 9 50 9
    5/4 51 8 40 7 40 8 50 8
    5/5 10 1 20 2 90 10 10 2
    We have a table with records of each day, for each employee, and their sales for that day.
    There is a possibility our list of employees can change as well as the number of days.
    Anyone tried doing anything like this with a form? We don't want to just embed a report because we would like to include other data as well besides what is mentioned above and we would like them to be able to change some of that data. Thanks in advance for any help.
    null

    I have a VERY similar problem where I want to have this matrix on the form with six days worth of data (three columns for each day) for my data table. I have done as Momen has suggested and created a view (using SQLPLUS):
    create table weekdays (weekday varchar2(3), date_x date);
    drop view employee_absences_v;
    create view employee_absences_v as
    select weekday,
    absence_date,
    hours,
    absence_code_lvid,
    adjustment_status_lvid
    from employee_absences ea, weekdays wd;
    that hopefully provides a row for each day of the week for my data table. The view is created OK but I'm not sure how to get it into the form properly. Also, I am using the form to CREATE rows in the data table not just SELECT and DISPLAY and there may or may not be a row of data for a corresponding day which is going to be a problem for me using this view method, I think. Let me know how this goes and if you get your form to work and how? Momen, your method appeals to me but it's not 100% clear how to get it to work in a form?
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Tina Radosta ():
    We tried to create the view (not with Designer because we don't have that). We were not successful in creating a view with a matrix. We would greatly appreciate your help.
    Thanks in advance,
    Tina<HR></BLOCKQUOTE>
    null

  • When I open a pdf, it used to open in Preview. Now my iMac requires Adobe Reader, but I prefer Preview. How can I make my iMac open pdf in Preview again?

    When I open a pdf, it used to open in Preview. Now my iMac requires Adobe Reader, but I prefer Preview. How can I make my iMac open pdf in Preview again?

    If an image opens in a different application but you want it to always open in Preview when you double-click it, do this one time: Control-click the file, let go of the Control key, press the Option key, then choose Always Open With > Preview. Or, select the image file, choose Get Info from the File menu, then change the "Opens with:" pop-up menu choice to Preview.
    Mac Basics: Preview app views and edits PDFs and images

  • How can I make my form be a certified document?

    Hi all,
    In my form, I want to export xml by using the script "Reference_Syntax.exportData( [ STRING param1 [, BOOLEAN param2 ] ])",
    for example, xfa.host.exportData("filename.xml",0).
    However, it is invalid. 
    It says that "This parameter1 is only valid on certified documents where the user has sufficient
    permissions".
    But how can I make my form be a certified document, or how can I get the sufficient permissions?
    Script "xfa.host.exportData("",0)" can be valid, but what I need is specifying the location and file name so that users can export xml just by clicking the button.
    Can I achieve this function?
    Waiting for your reply, thanks a lot!
    Ellie

    Please take a look at this discussion. Also, are your end users using Adobe Reader? If so, your document must be Reader Enabled withed LiveCycle RE to use the import / export xml functionality.

  • How can i make my hyperlinks open in a new window or tab?

    how can i make my hyperlinks open in a new window or tab?

    The program is InDesign… we need to cease links which will open the linked document in a separate window.  Also, the links must be maintained once a pdf is made and the files moved to another computer….

  • How can i make a picture from a video file with final cut pro x?

    how can i make a picture from a video file with final cut pro x?

    Go to the "share" menu, select "save current frame"

  • How can I get Quicktime to open my WMA file- it says a required codec is not available

    How can I get Quicktime to open my WMA file- it says" a required codec is not available"?

    please jon, where I can find those "Flip4Mac" codec packages?
    Gp to http://www.telestream.net/flip4mac/ to see a comparison list of codec components available and what each set can do.

  • How to write a code for  open new txt file in swing

    hai all,
    now i do one project in java.that project's GUI is Swing. But i don't known swing (basic).So how to write a code for open new txt file and "Open window " in menu item on swing.that means when i click the "New" on menu that time open a new txt file. open also like that type.
    plz give me that code ! very urgent
    Advance Thanks !
    RSK

    Swing Tutorial:
    http://java.sun.com/docs/books/tutorial/uiswing/index.html
    Since you don't know the basic of swing read the tutorial, it is for your own good because it is useless if we provide you with a code you don't even understand and how it works.
    If you want a menu read the tutorial about using menus and for opening a file read using JFileChooser.
    note: don't use the word urgent because it implies that your problem is more important than others.

  • When I have many tabs open, & I am viewing the 1st one in the row of tabs, how can I make ctrl+T open tab next to it instead of down at the end of all the tabs?

    If, for example, I have 50 tabs open, and I happen to be working on the very first tab out of the long row of tabs (tab #1 out of 50 total tabs)....if I suddenly need a new tab next to the one I'm on so that I can do something else related to what I am doing on my current tab's website, pushing ctrl+t opens up the new tab clear down at the very end of the long row of tabs (i.e., the new tab would be tab #51). How can I make the new tab open up right beside the one I'm working on at the moment?

    You would need an extension to achieve this
    You can look at this extension:
    *Tab Utilities Lite: https://addons.mozilla.org/firefox/addon/tab-utilities-lite/

  • How can I make my PDF document a smaller file size

    I am using photoshop cs3. I have a 8.5 x 11 document. It includes images and text. It is 5.48 MB. How can I make to file size smaller??? This is for print so I need to keep the quality of the image.

    In the user guide (available as a searchable PDF on the install disc)
    Chapter 15: Saving and exporting images
    Then
    Saving files in Photoshop PDF format
    Several pages to read... do so

  • How can I make my PDF open to "Fit One Full Page to Window" by default regardless of who is opening it?

    Hi, everyone. I am currently creating PDFs that have different page sizes (2 pages at 8.5" x 11" and other pages that range from 40"w x 80"h to 150"w x 150"h). I'm trying to package some artwork templates and artwork guidelines together for my clients to make it easier for them to access this information.
    The current issue I am running into is that I cannot figure out how to make these PDFs open with a default view of "Fit One Full Page to Window". I know how to set the default on my Acrobat Reader but I need it to default to this view when someone else opens it on their computer to view. (PDF currently opens the first page correctly but the rest of the pages are not previewing to fit page based on their page size. The only thing that reacts the way I want these documents to be viewed is the "Fit One Full Page In Window" option but I need to know how to default the PDF to view this way every time.)
    Any help is appreciated! I'm under a deadline so the sooner I can resolve this the better!
    Thanks in advance!
    Jenny

    There is an option for the Initial View that is "Magnification:" "Fit Page".  And this works for the initial page when the PDF is opened and it does not matter what the page size it, Acrobat/Reader will automatically fill the screen with the page. If you want the zoom type to change with each page then you need  add a page open script to each page to set the pages zoom type to "zoomtype.fitP"
    this.zoomType = zoomtype.fitP;

  • How can I make Photos not open every time a photo card is inserted?

    Hello,
    Every time I insert an SD or CF card or even my iPhone, Photos opens up. How can I stop this from happening? I looked everywhere and I can't find a solution, thanks.

    Go to Edit> Preferences. Under "Import Options" uncheck "Show import dialogue when memory card is inserted".

  • How can I make PDF forms filled in Preview show correctly in Acrobat?

    Dears list members, there is a known issue with PDF forms filled in Preview: the fields do not show properly in Adobe Acrobat. How can this issue be solved? On the internet, I found two basic solutions: (a) to flatten the document by printing it as a PDF and (b) to use a costum-made script. Is there an official correction for this bug that does not involve installing suspicious scripts? Thanks!

    Information only - No one was successful in this discussion.
    https://discussions.apple.com/message/21453922#21453922

  • How can i make QuickTime movie open a browser window?

    like title says, how can i accomplish this when i create/edit the QT movie?
    thanks!

    You set the "href" link or use the target=your URL in your page code.
    Quicktime 7 can also be used to set some movie proprieties to open the file in a new Player window.
    http://homepage.mac.com/kkirkster/03war/
    One of my files that uses the QuickTime Player app.
    If you wish to include a "link" inside your file to automatically open a new Web page when a certain frame of your movie is played you need to include a HREFTrack.
    This feature is currently "broken" in the Windows version of QT 7.
    Older versions still incorporate the href track properly/

Maybe you are looking for