Saving Records On Form

Aug 14, 2006

I have 4 tables with the following fields:

Table1 - CustID, customer information....
Table2 - CustID, VehicleID, vehicle information....
Table3 - VehicleID, PolicyID, policy number information
Table4 - PolicyID, premium collection information

The bold/underlined fields are my primary keys in the Relationship.

Everything works well, except for Table4!!! All the records encoded in it can not be saved.

View Replies


ADVERTISEMENT

Saving Records

Dec 20, 2006

I have a form that shows entries based on other parameter values they are changing when new searches are used. I created another form that shows the entries I would like to save and they are bound to the other form. I can view the data in the second form one by one based on what happened in the previous form but when I close the first form the data goes away in the second and leaves me with a #Name?. I am trying to come up with a way to save every different entry and create continuous records on what was entered. Is there a way to have the text boxes be bound but still save the record and just create a new record for the next entry? I tried the save record option in the records menu but when I close out it is gone. Thanks.
Mitch

View 1 Replies View Related

Saving Subform Records

Sep 14, 2005

I have a subform within a form and the subform has the child records for the main form. When I move from the main form to the subform by tabbing the records in the main form are saved. However, in the subform after it is completed if a certain field in a groupbox is chosed another form opens up which contains records in the many side of the relationship with the first subform. The problem is that the first subforms records aren't saved because the originall form isn't closed and I don't want it closed...How would I save those subform records when the new form opens up?

Thanks,

View 3 Replies View Related

Help - Explicitly Saving Records

Aug 4, 2005

I am using the below piece of code behind my Save command buttons on my various forms in my db; however, it does not always save the record. It will save if we completely exit the forms, but if we just switch records after clicking it, sometimes the save doesn't happen. If anyone has an idea of where I went wrong, I would appreciate hearing it.

Code:Private Sub cmdSupSave_Click()On Error GoTo Err_cmdSupSave_Click'CHECKS TO SEE IF YOU WANT TO SAVEstrMsg = "Are you sure you want to save changes? Edits cannot be undone." If MsgBox(strMsg, vbQuestion + vbYesNo, "Save Entry?") = vbYes Then DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70 Else 'IF NO, ENTRY REMAINS THE SAME Cancel = True End If Exit_cmdSupSave_Click: Exit Sub

View 8 Replies View Related

Saving Multiple Records At Once

Oct 13, 2011

I am managing a database for an academic project that requires a large amount of data-entry. In particular, there are several times when there are hundreds of identical records that must be entered. I would like to design a form that has a quantity box, so that if the person entering the data had to enter 320 identical records, they could just enter 320 in the quantity box, and then enter the rest of the data, and press the save button and then 320 identical (except for the Primary Key) records will be saved at the same time.

View 5 Replies View Related

Queries / Subforms & Saving Records

Jun 12, 2005

Hi all,

I've got this form working ok but need to add some extra functionality but haven't a clue how to do it!

The uploaded database has two main forms. The first is used to enter customer data, the second runs from a query and shows all those records that have been completed in the first form (frmCustInfo - AgentLog = Yes) but not completed in the second form (frmControlsSource - AnalystLog = No)

Then more data is input into one of the subforms (frmControlChecks). Now in order for me to see the results of the queries connected to two other subforms I have to move off the record and back to it (for the record to be saved and then the queries run)

After moving back to the record, the query results on the right (Information Only) are manually added to the last subform 'Input Two', then the user would move on to the next record and do the same.
-------------------------------------------------------------------------------------------------------------
What I need it to do then is this: When the user tabs off the last field in the subform (frmControlChecks), the queries to the right (two subforms) would run, showing the results and also populating the last subform (frmAnalystInput)

The user would then click AnalystLog and move to the next record.

I hope this is possible without redoing the forms/queries because it's taken ages to get this far :o

I've also added info in this sample database and some working data if you want to take a look...thanks for any help

View 2 Replies View Related

General :: Saving Records In Alternative DB?

Jul 6, 2012

I have a stock db with records that go back to 2006. I want to clear some of the old records but save them incase required. I still need to leave from 2010 until present on the db. I have a front and back end on the db.

View 1 Replies View Related

Lock Individual Records After Saving

May 4, 2014

what i want to do is lock each individual record created by each user from the other 3 users after they have been saved ( I am not referring to record locking/table locking while updating/creating ). ie They can all read each others created records BUT only update/modify their own created records. They all have individual passwords to log in.

View 3 Replies View Related

General :: Saving Records And Empty Comboboxes

Sep 16, 2014

I have a database that I've created for a number of clerks under me to use to track their daily tasks.

When clerks are entering their tasks, they do so through a number of combo boxes on a form (Assigned by:, Division of Law:, Subcategory:, Casename etc). When all of the combo boxes have been filled, the employee can click a button in order to save the record to the back end of the database and open a new blank record.

Currently, if an employee tries to enter the wrong data in a combo box and save the record, they will be prompted to enter data and not allowed to save the record; the problem is that if they leave all fields blank they can still save the record - thus creating useless data for reporting purposes. For example, an employee could enter their name and the date of record but leave every other combo box blank and still save the record. I want to lock the form such that they cannot save the record unless all of the combo boxes on the form are populated to reduce user error.

How can I do this simply?

View 13 Replies View Related

General :: Lock Individual Records After Saving

May 4, 2014

I have 4 users all with the same rights. What I want to do is lock each individual record created by each user from the other 3 users after they have been saved ( I am not referring to record locking/table locking while updating/creating ). i.e., They can all read each others created records BUT only update/modify their own created records. They all have individual passwords to log in.

View 4 Replies View Related

Forms :: Unable To Navigate Between Records - Custom Save Button Not Saving

Jul 22, 2013

I've been working on a database for work for the last few weeks and this forum has been a Godsend many times over, but now I have a problem that I can't find any reference to.

Using Access 2003, I have a form that uses 3 cascading combo boxes in the header to find a unique record, and a command button that brings up the rest of the record into unbound fields in the body of the form.

It works fine for finding records, but whenever I enter/change data on it, the record doesn't save. The navigation buttons at the bottom don't work - the Next/Previous record buttons are disabled, and the First/Last Record buttons do nothing.

Navigation buttons are enabled/activated in the properties.

I tried getting around this by creating a Save Record command button - first using the wizard, then using VBA code DoCmd.RunCommand acSaveRecord as advised by [missinglinq;696351], but this still doesn't save the changes.

View 4 Replies View Related

Modules & VBA :: Adding Controls To Form And Saving Modified Form

Dec 3, 2013

I am trying to open a form in design mode and add controls, this i have done. I am doing this all in a class, and am having trouble saving the modified form.

I have tried using the following, both produce errors

Code:

DoCmd.Save acForm, "tmpQueryDes"
DoCmd.Close acForm, "tmpQueryDes", acSaveYes

View 3 Replies View Related

Modules & VBA :: Close Form With Another Form Saving Record First

Jul 30, 2015

I have a timer form which closes the database after a period of time with DoCmd.Quit. Another form is open at this point but if a user has left it in the middle of editing it I want to be able to save the record in the other form and close it before the timer form closes the database.

What VBA do I need in the timer form to save the record and close the other form before DoCmd.Quit? Just to be clear the code is...

Private Sub Form_Timer()
On Error Resume Next
Me.Tag = Val(Me.Tag) - (Me.TimerInterval / 1000)
Me.Caption = "The database will exit in " & Me.Tag & " seconds"
If Val(Me.Tag) <= 0 Then

[code]...

View 1 Replies View Related

Saving Data On A Form

Oct 7, 2005

Is there a simple way to make sure all fields on a form are filled before the data is saved to the table? I looked into using thew IF is Null Then but for 30 fields that is alot of code. Does anyone know a easier way?

Jim

View 3 Replies View Related

Saving Record From Form

Feb 23, 2005

Hello,
I have a form and I have a button so people can open records to load into the form. The problem is that whenever they close the form it updates the information in the table. How do I stop that from happening?
I want the information in the table to update only when they hit the button I made (which works).

And how do I stop it from loading the record when I open the form, or maybe I can specify to load a blank record instead, how do I do that?

Thanks in advance!

View 1 Replies View Related

Saving Form As Report

Dec 19, 2005

Hello all!

I would like to have one stupid question, because I could not find any answer on this forum.
I want save the Form as Report. I can do that from "Menu bar", but I want to do that from the code (VBA or Macro) without inputting the output parameters by users.
Do you have any idea how?

Many thanks.

Krava

View 7 Replies View Related

Saving Form Designs

Feb 16, 2006

Hi
I have created a form which I would like to save, and use as my own template.
This is because the form is linked, and when I try to make any structural changes to the database, I have to delete the link, start again, and then redesign the form.
Is there anyway I can save the form, to use again, instead of starting from scratch?
Thanks so much!
Hayley

View 1 Replies View Related

Saving Data With A Form

Jun 7, 2006

What's Up,

Got a quick question, is there a way to have a field in a subform update a field on the primary form's table? In other words, enter the data once and it stores it twice, on the subform table and the primary form table.

Thanks for any help.

Trey

View 1 Replies View Related

Form Not Saving From VB Action

Sep 5, 2006

Hi,

On my Form I have a Label (Recnote) which gets changed by the VB code if criterior is true. My form does change this correctly however, once I quit (or close the Form) and come back, the changes dissappear.

But the strange thing is that every now and then it does save it.

Any ideas??? Any other command I should use?

The following works as it disables my Import button and changes the Label contents but does not save when exited


Private Sub CloseME_Click()
DoCmd.Requery

If [CountOfOracle Co] = 0 Then
MsgBox "Cannot Close ME Yet", vbOKOnly, "Circular Rec"
Else


Me.Recnote.BackColor = 65535
Me.Recnote.Caption = "Final Reconciliation"
Me.Recnote.ForeColor = 32768
Me.Import.Enabled = False
DoCmd.RepaintObject
DoCmd.Save
End If

End Sub

View 14 Replies View Related

Forms :: Saving Form For Later Use

Aug 14, 2013

I was just wondering if it's possible to save a form with all its settings and selections, and reload it later? So if a user is filling a form out with a few subforms which show a yes/no field in datasheet view, if they select a few options in the yes/no field and hit save, when they reload, it will bring up the form with everything they had selected when they hit save. I'd like to put Save and Load buttons on my form if it's possible.

View 2 Replies View Related

Form Validation Before Saving?

Aug 29, 2014

I have a simple form with a save button created directly from a table. I would like the on click event to check 4 fields to be sure that they weren't left blank and have a msgbox prompting to fill in the missing data, obviously not saving until all fields are complete. Fields are FirstName LastName Age Position. If all data is filled I would like the button to save the record and begin new record.

View 3 Replies View Related

Saving A Form Field Into A Table

Aug 15, 2005

Help!!
I have a form created on a query. I created a field to add up the cost of all components on the form and now I need to save it to a field in a table so that I can run a report (my invoice)! Any suggestions??

View 3 Replies View Related

Deleting And Saving In Tables From Form

Oct 17, 2005

I am trying to make a database for a shop which can do several things:

1) I want to give in what is being bought by the shop to make their products form. This has to be saved in a table named STOCK.

2) I want to be able if I say in a form that from these things I made that product that these things dissapear from the STOCK table and that the final product is added to the STOCK.

3) If the final product is solled I want to remove it from stock.

In the end if I want to see what is still in the stock I will only have the things that are still there because the rest is removed.

How can I do this??

Thanks for your answer

View 1 Replies View Related

Saving A Form's Sort Field

Sep 16, 2005

I have a form that has a bunch of project information and scrolling buttons at the bottom to browse by next/last.

Right now the form is sorted by the ID associated with the project, which kinda sucks because they were and are not put in alphabetically.

I discovered if you right click on a field and click "Sort Ascending" or the opposite it works fine but when I open the database it is right back to normal ID sort

I have checked the Data and Other tabs but can't find anything with regards to this as well as I have tried sorting the actual table by name and that changed nothing.

Any help would be greatly appreciated.

View 1 Replies View Related

Saving Form Data Before Going To Subform

Jun 29, 2006

And another question...

In my database I have a button on a form which leads to a subform popping up. On the subform popping up, I display data from the first form. However, unless I first save the original form and then go to the subform, the data isn't passed on. How can I make the button both open up the subform and save the form so that the data is passed on?

Again, any help is much appreciated.

View 1 Replies View Related

Time Saving Form Question?

Aug 8, 2006

Big question I know

ok, i have my table set up with the following fields:
Date; Name; Shift; Area; Plant; JobDescr.

I plan to create a form where the user1 can enter the following details just once:
Date; Name; Shift.

Then below, the user1 would need to enter the following fields several times:
Area; Plant; JobDescr

All the above fields need to be recorded in the database on the same table:
Date; Name; Shift; Area; Plant; JobDescr.

User2 would need to come along and generate a report which would look something like this:

22/18/06 Joe Bloggs B Shift

Area 1 (heading)
Compressor (Plant)
Machine overhauled, plant repaired etc, etc.

Area 6
Boiler
Boiler serviced blah blah blah. maybe several lines of JobDescr.

Area 67
Car
Moved due to blocking fire escape.

User2 would need to be able to call up what happened in any given area between any given date or any given plant.

I apologise for the longwindedness of the question.

Can anyone guide me to the easiest way to do this

TIA
culedude

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved