Enter data in a form - save that data to disk...

I've got a form application which has typical fields for data entry, ref number, name, address etc.....up to ten items.
I have a Main Menu form, four other forms, and can move between them fine.
This is a cut down example, with only one text field, of the type of form I'm using to enter data to:
package Test;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import com.borland.jbcl.control.*;
public class Frame1 extends JFrame {
Button button1 = new Button();
Label label1 = new Label();
TextField textField1 = new TextField();
Filer filer1 = new Filer();
//Construct the frame
public Frame1() {
enableEvents(AWTEvent.WINDOW_EVENT_MASK);
try {
jbInit();
catch(Exception e) {
e.printStackTrace();
//Component initialization
private void jbInit() throws Exception {
button1.setBounds(new Rectangle(136, 202, 133, 45));
button1.setLabel("a button");
button1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(ActionEvent e) {
button1_actionPerformed(e);
this.getContentPane().setLayout(null);
this.setSize(new Dimension(400, 300));
this.setTitle("Form Test");
label1.setBounds(new Rectangle(18, 10, 111, 37));
label1.setAlignment(2);
label1.setText("a text field");
textField1.setBounds(new Rectangle(166, 13, 109, 23));
textField1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(ActionEvent e) {
filer1.setDirectory("c:\\");
filer1.setFrame(this);
this.getContentPane().add(label1, null);
this.getContentPane().add(textField1, null);
this.getContentPane().add(button1, null);
//Overridden so we can exit on System Close
protected void processWindowEvent(WindowEvent e) {
super.processWindowEvent(e);
if(e.getID() == WindowEvent.WINDOW_CLOSING) {
System.exit(0);
void button1_actionPerformed(ActionEvent e) {
Frame2 myFrame = new Frame2();
myFrame.show();
I'd like to be able to enter the data, save individual records to disk, and access them individually. I've been trying to implement
'Serialize' but with no success so far. I'd be most grateful for any advice on how to save the individual records without implementing a database. I'm using applications for all the forms. To get me started, I'd be happy just to be able to enter something in the example form's text field, save it, and display it again.
Many Thanks

Though it would be better with ODBC bridge to an access DB.
... ( <--- that's dot, dot, dot) though for some reason you don't want to go down the DB path ?!?!

Similar Messages

  • I have manually inputted data into a blank spreadsheet and would like to use a form to enter data into that sheet !!! How do I do that please

    I have manually inputted data into a blank spreadsheet and would like to use a form to enter data into that sheet !!! How do I do that please

    Leigh,
    After creating your table, Tap the Tab marked "+" and select "Form" - you will be asked which table to use. (You should get into the habit of naming your tables - if the table name isn't visible, select the table and tap the Styles (Brush) Menu > Table > Turn ON table Name, then double tap on the Table to edit it.)
    Select the table you wish to to fill with a form and you will see a new form based on the header data.
    The form will allow you to add one row at a time and when you get to the last row, there is an option at the bottom of the form to add a new row using the "+" button. At the top of the form is the row header which you can rename by double tapping.
    You can also rename the form on the Tab by double tapping on the name.
    Try it out.

  • How do I save IRS pdf forms so that I can fill in and save the data

    when I downlaod a US government IRS form I am unable to fill in the form, save the data and print, I have tried saving as a pdf from the print menu and using the tools menu none of which works

    I know there is an app called PDFPen that is supposed to fill in PDF forms.  PDFPen is available in the App Store, but it is not free.
    I have no financial interest in PDFPen.  I also don't know if there is some cheaper way to fill in the forms.

  • How do I disallow users from saving the data they enter into an Editable form?

    Hi all,
    I am working with a client who does NOT want their users to be able to save their data. In other words, when the user opens the PDF file, they can enter data into the editable fields, but they should NOT be able to save that data as part of the PDF.
    Does that make sense?
    My client doesn't want the user to be able to save a local copy of the PDF with any of the data entered onto the form.
    Based on what I've found in my research, as of Version 11, Adobe Reader now allows users to save their data. Unfortunately, my client doesn't want that.
    Any help?
    Thanks,
    Steve

    About the best you can do is include a JavaScript that resets the form when it is saved, so no entered data remains in the fields. The problem with this approach is JavaScript can be disabled, resulting in the form not being cleared and allowing the filled-in form to be saved.
    You can address this with an additional JavaScript that runs when the form is opened that sets all of the fields from read-only to not read-only, allowing the fields to be filled-in. If JavaScript is disabled, the script won't run when the document is opened and the fields will remain read-only and therefore not fillable.
    The user would be able to work around this by having JavaScript enabled when the document is opened and disabling it after filling-in the form but before saving it. Most users would not be aware of how to do this though.
    If there are rules/regulations/laws in place that require something more certain, you'll have to take a different approach.

  • Saving PDF Form locally along with the entered data

    Hello,
    We are trying to create an offline form in NWDS with embedded Adobe Livecycle 7.1.  Since this is for offline scenario, we would like the users to be able to save the form on their local computer.  Also, users should be able to save <b> any data they have entered</b> in the form; and then submit the form whenever they  are ready.
    Our issue is that there is no “Save” button on the PDF form? We have tested with Adobe reader 7 and 8.   Is there a configuration that we are missing in ADS?
    Any help on this would be much appreciated.
    Thanks,
    Robby

    hi robby. currently i also have encounter the same problem as what you have but i still trying to solve it.. i decided so share with you what i found.. hope it could hear you out abit.
    for what i know you can create a button and inside there you can code this javascript
    app.execMenuItem("SaveAs");
    this is able you to save the blank PDF.. but for those data you entered it is not there.. but then i do see on some thread on the <b>Reader Rights Credential</b> -> http://help.sap.com/saphelp_nw70/helpdata/en/56/f2c94a069f44a785b85748e11f82a0/frameset.htm
    hope it can help you out. in the meanwhile i will try to explore it more and i successfully solve this problem i will share it with you..
    Regards
    Ng Jia Jun

  • LC/Acro 8.0 dynamic form resetting entered data

    I have a dynamic form originally created using LC 7.1. The form was Saved As... using LC 8.0. The form has a table (in the Body Page) which adds rows via an addInstance button. The rows expand to fit the text. Two master pages are used as the second is a continuation sheet.
    Using Acro Pro 8, I distributed it so that it could be completed and saved by a user with just Adobe Reader (7.08). Whilst completing the form, adding rows, entering data and regularly saving, I reached the bottom of the page and added an additional row (to spill over onto the continuation sheet), however all the data disappeared from the completed fields (all the fields except check boxes). The same happens when the table row expands to accommodate the text, thereby spilling over onto the continuation sheet (2nd master page). It also looks as though the RemoveInstance manager resets the form data when I delete a row and there is no script telling it to do this.
    Even purging the cache, closing down, and reopening the Saved form doesn't recover the lost data!
    So am I misunderstanding the licence limitations of this upgrade or is it a bug with the InstanceManager? If you are supposed to be able to complete/edit and save the form, what am I doing wrong?
    Any help, greatly appreciated.

    Where is some documentation on this bug? I am having the same problem (disappearing data EXCEPT radio buttons and check boxes). I do not manipulate instances in my form, but I do update the layout (it is dynamic) and allow users to save data.
    I suspect that my end users are using earlier versions of Reader, but would like some documentation on the subject, as I do not have access to the users' computers. I can't recreate because I have Reader 8.

  • LC 8.0 form wiping entered data.

    I have a dynamic form originally created using LC 7.1. The form was Saved As... using LC 8.0. The form has a table which adds rows via an addInstance button.
    Using Acro Pro 8, I distributed it so that it could be completed and saved by a user with just Adobe Reader (7.08). Whilst completing the form with the user, adding rows, entering data and regularly saving, I reached the bottom of the page and added an additional row (to spill over onto a continuation sheet), however all the data disappeared from the completed fields (all the fields except check boxes). Even purging the cache, closing down, and reopening the Saved form doesn't recover the lost data!
    So am I misunderstanding the licence limitations of this upgrade? If you are supposed to be able to complete/edit and save the form, what am I doing wrong?
    Any help, greatly appreciated.

    Where is some documentation on this bug? I am having the same problem (disappearing data EXCEPT radio buttons and check boxes). I do not manipulate instances in my form, but I do update the layout (it is dynamic) and allow users to save data.
    I suspect that my end users are using earlier versions of Reader, but would like some documentation on the subject, as I do not have access to the users' computers. I can't recreate because I have Reader 8.

  • Can I use Acrobat 11to download pdf that only allows me to read, enter data, and print?

    I need to complete gov. forms available online as pdf.  I can review, enter data and print, but I cannot save to my computer or anywhere else.  I need to be able to save so I can return to the form and enter information as I access it.  Can this be done if I purchase Acrobat 11 and, if so, can I get the Standard edition?  I currently only have Reader.

    Yes, if you upgrade to at least Acrobat Standard you will be able to save. Since you can't save with Reader (assuming 11), the forms are probably XFA forms (created with LiveCycle Designer), which must be Reader-enabled in order to be saved with Reader. Reader 11 can save non-enabled AcroForms (forms created with Acrobat), but not non-enabled XFA forms. If you have a Reader version prior to 11, try using Reader 11 to see if it will save.
    If you can provide a link to one of the forms, I can tell you for sure what the minimum requirement for saving is.

  • Save and refresh after entering data inoto table.

    hello guys,
    im using abap webdynpro now. and im facing a problem with the saving and update " refresh function"
    I have entry table and some other text input.
    the thing im doing is to enter data in the filed, attachment, drop down selection. then the data will be saved into the table in the same page
    and need to refresh the page automaticlly when doing this. so the used does not have to do it manully
    please help me in this..code, source, or hints.
    Thanks
    Lily

    well , the guys guid me to some ideas.
    yes..after entering data into filed, textinput. the data will goes to the table after clicking " save" button. after that I want the table to be updated.
    thanks

  • Restrict Which Users Can Enter Data In List Form in SharePoint Foundation 2013

    Is there a way to restrict which users can enter data in particular fields in a list item entry form?
    We are using a SharePoint Foundation 2013 list and calendar to manage vacation time. We need to restrict non-supervisor users users from entering a value in a certain field in the vacation request form.
    Here is how the system works now:
    1. Employees complete the vacation request form (which creates a list item)
    2. An email is sent to their supervisor to either approve or decline the request
    3. Approved requests are automatically entered onto the vacation calendar
    We have restricted the list so that only supervisors can edit items (the pending vacation requests). The problem is that all users can mark their own requests as approved when they fill out the request form in the first place. Is there a way to restrict
    which users can enter data in particular fields on a list item entry form?

    Thanks for the suggestion. We ended up 1) hiding the approval column and 2) creating a second list, workflow, etc. The user no longer sees the approval column when filling out the form. Requests are now submitted to list A. Workflow #1 copies the request
    to List B, then deletes the item from List A. Once the request is added to List B, Workflow #2 emails the user that the request has been received and emails the supervisor that a request needs to be approved. Only supervisors have editing permissions on List
    B. Approved requests are automatically added to the vacation calendar (the calendar view of List B).
    We found the following site to be helpful in learning how to hide the list column:
    http://community.bamboosolutions.com/blogs/bambooteamblog/archive/2013/06/03/how-to-hide-a-sharepoint-list-column-from-a-list-form.aspx

  • Entered data in form is lost upon export to excel? Help.

    Dear forum members,
    I have a need to deliver a user fillable form to customers on a thumb drive. I created the form from an existing excel spreadsheet. The customers need to enter (numerical) orders for products and return the drive to me. I can get the data entered by the customer to save in the pdf form,but when I export back to excel the entered data from the pdf form is missing. Any help or suggestions would be appreciated.

    Ah, ok, this is for regular PDF files, not for form contents (which are entirely separate). Use TOOLS > Forms > More Form Options > Manage form data. Various export formats are available.

  • How to lock a pdf form after entering data

    Hi
    I have created certificate with editable fields for a client, I was of the thinking that the certificate is to be filled-in and printed however the client informed me that it is instead emailed to recipients. How can I make it possible for the client to lock the certificate after entering data.
    Bear in mind that the client is using Adobe Reader not Acrobat. I have tried setting a security password but Reader does not require the password in order to enable or disable the fields.

    If the user has Acrobat, not the free Reader, they could flatten the PDF form. If they only have Reader they can make the fields read only. They also might want to use a digital certificate to invisibly sign the PDF. Signing the PDF will add code to disclose if the PDF has been changed since it was signed.

  • I recently tried to change a sved password for my Exchange Server email account, by deleting the site from my "Saved Passwords" tab in the Tools-Options-Security page. Now this web page won't save any entered data.

    I wanted to change my password for logging in to my work email address. The site was not prompting me to change it automatically, so I manually removed it from the list in the TOOLS-SECURITY-OPTIONS page. Now this site won't retain any kind of entered data, such as addresses that I compose emails to very regularly.
    How can I get this site back on the list that will save passwords? I've tried re-starts, log-out and back in, etc, and it won't prompt me to save a password.

    Shelady wrote:
    ... (wasn't even aware my gmail account had anything to do with Microsoft) ...
    It doesn't.  Gmail is owned by Google.
    Shelady wrote:
    Also can someone tell me how I report spam on my iPhone and iPad in a gmail account?
    Report it to Google:

  • Why would entering data into a basic form be so slow?

    We have a form created in Acrobat 8.0 that has about 30 fields. They are only fields to be filled in and then the form is printed.
    Until we updated Adobe Reader to version 9.1.1, we had no issues entering data into the form. With versions 9.1.1 and above, data entry gets slower and slower as you move down the form.
    Entering data into the first part of the form is rapid. When entering data into the middle part of the form, you can type characters and then watch as the characters slowly appear. When you get to the end of the form. the characters you type can take about 5 seconds each befor they appear.
    Can't figure out why version 9.1.1 and higher cause data entry to get progressively slower as you move down the form.

    Hi,
    I realize that you mentioned that it worked in 9.1, so perhaps the problem is not related to RDP performance.  However, you still might want to have a look at Ericom Blaze, a software product that accelerates and compresses standard Microsoft RDP. Blaze accelerates RDP performance by as much as 10-25 times, and helps deliver higher frame rates and reduce screen freezes and choppiness.
    You can read more about Blaze at:
    http://www.ericom.com/ericom_blaze.asp?URL_ID=708
    Or view a video demo at:
    http://www.ericom.com/blaze_youtube.asp?URL_ID=708
    Hope this helps.
    Adam
    Ericom

  • Tabular form loses entered data on return from error page after validation

    APEX 3.2
    I have a manually-built tabular form with validation. I display the error on the error page. When using Firefox and Chrome, when returning from the error page, the data I entered in the tabular form is still displayed. When using IE, that data is NOT retained.
    This worked properly at one time in IE.
    Suggestions?
    Thanks,
    -Ken

    APEX 3.2
    I have a manually-built tabular form with validation. I display the error on the error page. When using Firefox and Chrome, when returning from the error page, the data I entered in the tabular form is still displayed. When using IE, that data is NOT retained.
    This worked properly at one time in IE.
    Suggestions?
    Thanks,
    -Ken

Maybe you are looking for

  • Why 512mb and not 1

    Why will my computer only recognize the Zen Nano Plus 52mb mp3 player and not the gig model? Have tried everything. Even updating the firmware on the gig, but it never becomes recognized properly. Anyone?

  • Question about error message in SMTP log

    Does anyone have any idea what this error message is in my log? I see it a couple of times a day. table hash:/etc/aliases(0,lock|fold_fix) has changed -- restarting Message was edited by: J Moore

  • Accessing MSACEES from SAP

    Hi, Can anyone send me description or code to create a connection to MSACCESS Database and Upload Data from there into my SAP Tables. I dont want to use EXCEL i only want to use Access only. Thanks, Usman Malik

  • Disc stuck in burning mode

    I'm currently burning a double-layer disc in iDVD. When I first inserted it it said it would take 9 hours to burn. I went out to work & have just returned to find it " stuck " on 3 hours 3 minutes. What 's the problem? If there is too much footage wh

  • Presonus Faderport -

    Can I use the Presonus Faderport with my Macbook Pro running Logic Pro 9?  I see mixed answers here.  Is there maybe another similar controller out there? Happy New Year to all and thanks in advance!