473,320 Members | 1,825 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

clear form on exit

20
in my database there is one standard form that all users have to fill out. is there a way that i can make the form clear when it is closed but also keep that data input in another table?
Mar 29 '07 #1
13 5906
Rabbit
12,516 Expert Mod 8TB
in my database there is one standard form that all users have to fill out. is there a way that i can make the form clear when it is closed but also keep that data input in another table?
What?

Why does it have to "clear" (I don't know what you mean by this) and why does it have to be input in another table?
Mar 29 '07 #2
gucci09
20
the reason it has to clear is because this database is going to be used to keep track of different projects. so the user will fill out the form for one project and then in a month or so when they come back they would need to fill out that same form but still have the data from the other form. and if it is all in a table then they can use the report feature to view all of their past projects. so basically what i want is for the user to be able to imput all their data. the data to be stored in a table and then once they close out of it the form will clear so it looks nice for the next person that uses it.
Mar 29 '07 #3
Rabbit
12,516 Expert Mod 8TB
A form that is bound to a table will automatically insert records into that table.

A form set to data entry mode will only allow the user to insert new records and they will not be able to see older records.
Mar 29 '07 #4
gucci09
20
right i know that but i want the form to be able to store multiple entries into that one table
Mar 29 '07 #5
Rabbit
12,516 Expert Mod 8TB
right i know that but i want the form to be able to store multiple entries into that one table
Yes.. that's the very purpose of the form. To enter data, multiple records or not.
Mar 29 '07 #6
gucci09
20
i know all this. what i want it to do is for the user to be able to enter data on the same form multiple times. and each time it stores a new entry in the table. then when the user closes the form it will clear all the fields so they are blank for the next user to enter data into them
Mar 29 '07 #7
Rabbit
12,516 Expert Mod 8TB
Yes... that's why I said this:
A form set to data entry mode will only allow the user to insert new records and they will not be able to see older records.
Mar 29 '07 #8
gucci09
20
but what will happen to the old records. will they still all be stored in that table and also how do u set the form up like that. and i dunno if this makes it difficult but as they enter data into this one form it also inserts into another form that displays a quad chart that can be submitted
Mar 29 '07 #9
Rabbit
12,516 Expert Mod 8TB
but what will happen to the old records. will they still all be stored in that table and also how do u set the form up like that. and i dunno if this makes it difficult but as they enter data into this one form it also inserts into another form that displays a quad chart that can be submitted
The old records stay in the table. All a form does is to display data from a table and act as an intermediary between the user and the table. Just because you can't see a record on a form doesn't mean it's not in the table.

All you have to do is set the Form's Data Entry property to Yes.

I don't understand what you mean by the last statement.
Mar 29 '07 #10
gucci09
20
i know when u enter stuff into a form it goes into the table. but i want it to make multiple entries aka rows in that table and i dunno how to do it. bc i want to then have the user click on a report and see all of their projects. as far as the last statement u know when u go to fill something in on a website and everyone fills in the same thing but u get a blank form and then ur data is stored somewhere. that is basically what i want this to do. i want everytime this database is open for whoever is accessing it at the time to have a blank form. then they can enter their data. the data will then be stored in a table then they will leave and another user will open the database. that user will see a blank form and can enter stuff in but because all the data from the other users are stored in the table. he can click on the report and see everything everyone has imputed
Mar 29 '07 #11
Rabbit
12,516 Expert Mod 8TB
i know when u enter stuff into a form it goes into the table. but i want it to make multiple entries aka rows in that table and i dunno how to do it. bc i want to then have the user click on a report and see all of their projects. as far as the last statement u know when u go to fill something in on a website and everyone fills in the same thing but u get a blank form and then ur data is stored somewhere. that is basically what i want this to do. i want everytime this database is open for whoever is accessing it at the time to have a blank form. then they can enter their data. the data will then be stored in a table then they will leave and another user will open the database. that user will see a blank form and can enter stuff in but because all the data from the other users are stored in the table. he can click on the report and see everything everyone has imputed
That's exactly what the Data Entry property will do.

To enter new records they just have to scroll down with their mouse wheel and they will go to a new record. If they don't have a mouse wheel you can just include a button that they click and will take them to a new record. This can be done with the command button wizard so you don't have to actually code anything.
Mar 29 '07 #12
gucci09
20
thanks man. ill try that out. i am actually getting off work here soon but i will try that. i really appreciate the help. sorry if i sounded angry before. i am really new to access and i have been really frustrated all day. thanks again
Mar 29 '07 #13
Rabbit
12,516 Expert Mod 8TB
Not at all. It's always difficult and frustrating to start up something new without support. Let us know if you get stuck anywhere.
Mar 29 '07 #14

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Peter | last post by:
I want to draw some lines on a widget. This works ok, but when I want to redraw, the old lines are still there. How do I clear or refresh the widget, so I can draw a new set of lines? Code...
5
by: Mike | last post by:
I have a form that has a control on it. When data is entered into the control I verify that is good with the follwoing code: ==> Begin Code <== Dim ct, curbidnum curbidnum = Me.biddernum ...
6
by: Shyguy | last post by:
I have a form where one of the entries is "Contact". On BeforeUpdate I check the table for the existance of that Contact. A mesage box informs the user that the name is already in the table and...
5
by: RAJ | last post by:
hi plz tell me how to know "how window is going to close"... i have to right code for X button of forms... plz telll me thanks bye
10
by: mttc | last post by:
I read articles that suggest preventing delete by throwing Exception from RowDeleting Event. I not understand where I can catch this Error?
22
by: mp | last post by:
i have a python program which attempts to call 'cls' but fails: sh: line 1: cls: command not found i tried creating an alias from cls to clear in .profile, .cshrc, and /etc/profile, but none...
6
MitchR
by: MitchR | last post by:
I Have created a table for data entry. The table and accompanying form used to enter data is used for returning leased assets back to a lease holder. My question is this: I want to script a Save and...
1
by: joshapalooza | last post by:
I am using a form to sort a report, but I can't seem to get the "clear form" button to work. I used the wizard when I installed the button, using the clear form option under the form option list....
1
by: igor221189 | last post by:
Hello everyone. I have Access 2000 database which holds student records in the school.It stores subject grades for each student.In the 'Student Grade Form', I would like to search student surname...
5
by: karsagarwal | last post by:
I have a bounded form and after I click the button to update/save. THe fields are still there. Is there a way to clear off the fields in the bounded form. Thanks, SA Here's the code that I...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.