Editing Table Data From Within A Form

Jun 8, 2007

Hi Guys

I'm trying to create a database application which logs the number of times which i do a certain task.

Is it possible for me to create a button within a form that will increment the value with a particular field by one?

I have searched the net but can't find anything.

Thanks
Matt

View Replies


ADVERTISEMENT

Editing Table Data From Within A Form Using A Button

Jun 12, 2007

Hi All

I'm trying to set up a form to log my clinical placement, and the number of time i undertake a procedure.

I want to have a list of a few procedure(fields) and then button next to each one in a form which will increment the number by one

How do i go about doing so?

View 3 Replies View Related

Forms :: Switching Form From Data Entry Only To Data Editing

Feb 18, 2015

My aim is to have my forms open to a new record, which I have done, but if my users need to then update or edit data in previous entries, they can click a button that allows this.

My thoughts were to add a button, then put in code so that the necessary properties changed the form from displaying a new record or records entered since opening it, to showing all records in the associated table....

As an example there is a table for purchase orders. When clicking on this from the main menu form, it opens up the purchase order form to create a brand new PO. At times though, we will need to revisit an order to attach a copy of an invoice, or update the cost of whatever was purchased.

View 5 Replies View Related

Having Trouble Editing Data In Form

Jun 20, 2005

I have a form to edit records. When I open the form I am not able to change any of the fields until I edit a date field that has a calendar popup on the "on click" event. After that all of the fields are available for editing. Any ideas??
Thanks,
Pat

View 11 Replies View Related

Linked DB Query Which Allows Editing Of Data Through A Form

Dec 20, 2005

Hello,

I am a relative newby to Access, Can someone please offer a solution to my problem.

I have a DB which lists current order references, I also have a linked spreadsheet from a customer which references their Ref number to our S/order no & Item no.
I have set up the relationships for the common data between both tables.

if I create a Query from either table individually the data can be edited but when a query is created from both sources the data cannot be edited.
this also happens if the spreadsheet is imported to its own DB.

I would really like to create a form which displays both sets of data for editing, marking progress etc.

Can data from linked tables be edited in a form ?

Regards

Andy

View 6 Replies View Related

Editing Table Entry From Form?

Aug 27, 2015

I have a Form that is used for creating entries to fill a table. On the same Form there is also a list that shows everything in the table and a double click on the list will populate the Form with that data. The problem is that "Save Record" command button will not update the table because it thinks it is creating a new record.

The code to populate the form from the list is

Private Sub EmployeeEntryList_DblClick(Cancel As Integer)
Me![Number] = EmployeeEntryList.Column(0)
Me![EmployeeNumber] = EmployeeEntryList.Column(1)
Me![FirstName] = EmployeeEntryList.Column(2)
Me![MiddleInitial] = EmployeeEntryList.Column(3)
Me![LastName] = EmployeeEntryList.Column(4)
Me![Supervisor] = EmployeeEntryList.Column(5)
Me![Group] = EmployeeEntryList.Column(6)
Me![Shift] = EmployeeEntryList.Column(7)
End Sub

how I can make it populate the form if an entry is double clicked and then be able to save a modified version of that record over top the original.

View 6 Replies View Related

Forms :: Lock / Unlock Form AND Subforms From Editing Data

Mar 24, 2014

I have a form with several subforms within (tabbed subforms). I've used the code:

In the Current event of the parent form -

Code:
Me.AllowEdits = False
Me.AllowDeletions = False
Me.AllowAdditions = False

In the Current event of each of the subforms -

Code: (THIS NEVER WORKS FOR ME - RUNTIME ERROR)
Me.AllowEdits = Me.Parent.AllowEdits
Me.AllowDeletions = Me.Parent.AllowDeletions
Me.AllowAdditions = Me.Parent.AllowAdditions

In the Click event of the button -

Code:
Me.AllowEdits = True
Me.AllowDeletions = True
Me.AllowAdditions = True

So the main form is locked upon opening and unlocked with the click of an unlock button. How to apply this to the subforms as well. They just stayed unlocked the whole time.

View 14 Replies View Related

Data Editing Locked

Oct 19, 2006

I want to make a field where data can be enterred but once its saved cannot be deleted or changed in any way.

Anyone have any ideas how this can be done?:confused:

View 10 Replies View Related

Editing Data In A Linked Excel Sheet

Mar 28, 2008

Hi all. I have an excel spreadsheet that pulls company information off of our internal system that is linked to an access database table (let's call it "General"). The General information is current and is updated within our internal system (but through the Access side will not need to be updated), however, I have a separate table (let's call it "Detail") that has information (employment, revenue numbers) that I want users to input through access. The two tables are joined through a relationship, however, b/c General is a linked table I am a) unable to assign a primary key and b) unable to edit the Detail information in a form view. I know this is related to Microsoft's limitation on excel linked table, but I was wondering if there is a way around it besides copying the General data into an access table. Would be grateful for any help!

View 2 Replies View Related

Editing Data In Multiple Fields In Ms Access

Oct 4, 2007

Hi,I have a table which contains sales information like deal name,closing date of deal,Monthly revenue information,total revenue yearly also quarterwise
information.The below table gives some idea....
i want to enter data in multiple fileds ex:when I enter revenue amount it should get updated in corresponding month based on the closing date information.Suppose closing date for a particular deal is mar-08 then the total revenue entered in revenue field should get updated in march month field.Please help me how to edit data in multiple field and also logic to apply to solve my problem.I have to design a report based on this information and source should be one table so i want to edit data in main table.


Any help would be appreciated...

I am new to ms access database so got stuck..pls help me



Closing date Jan Feb ar Apr May Jun Revenue Q1 Q2 Q3 Q4

Mar-08 1,500 1,500 375 0 0 0
Jun-08 4,000 4,000 0 0 0 0
Jun-08 6,000 6,000 0 4,500 0 0
Jun-08 3,000 3,000 0 0 0 0
Jun-08 1,720 1,720 0 0 0 0
Jun-08 20,000 20,000 0 0 0 0
Jun-08 2,000 2,000 0 0 0 0
Jun-08 20,000 20,000 0 0 0 0

Thanks in advance. yuor help is appreciated,

Regards,
kala

View 2 Replies View Related

Editing A Table

Apr 2, 2008

I am using a form with command buttons to allow an administrator with limited Access knowledge to update certain tables. This is usually done by opening a form that is linked to the table and allow for changes. For one particular table, I would like the Administrator to be able to make the changes directly in the table. I would like for them to access the table with a command button. Here is the code I am using to update the table through the form. How do I need to change it to open the table and not the form. I tried changing the DoCmd to OpenTable and changed the stDocName to "tblStaff" but I received a compile error.

Your help is appreciated.

Private Sub cmdPermission_Click()
On Error GoTo Err_cmdPermission_Click

Dim stDocName As String
Dim stLinkCriteria As String

stDocName = "frmStaff"
DoCmd.OpenForm stDocName, , , stLinkCriteria

Exit_cmdPermission_Click:
Exit Sub

Err_cmdPermission_Click:
MsgBox Err.Description
Resume Exit_cmdPermission_Click

End Sub

View 5 Replies View Related

Modules & VBA :: Editing Data From Database In Textbox Taken From Subform

Jul 11, 2013

In my form I have a subform, which displays A, B, C. Then information C is displayed in textbox. User should have a possibility to modify this data in order to modify data in database.

I am able to display information C in text box based on this subform. However it is uneditable, although property of enabled is yes and locked is no.

It seems to me, that it is impossible to edit data because it is taken not directly from database but from sub form, so I make special query which takes data directly from database however I lose an event which is based on selecting proper record from subform (there is only onEnter and onExit events)

View 5 Replies View Related

Log Creation For Editing On A Table

Dec 7, 2005

Hello,

I have created a table containing jobs that need to be done from my team (IT production). Each time someone start or finishes a job, he must fill a box that updates a specific row in the table. I want to log the time of that action.

Any ideas of how I could set this up in Access? I have tried the Now() function in the Default Value of the field End Time, but this is updated everytime I refresh the table

View 5 Replies View Related

Editing A Field From A Different Table

Apr 27, 2005

I hope I can explain this:
I have a database with a table "Itinerary" it has two fields "Date of Visit" and "Agency Number"
I have a second table that is linked from a different database "Agent Info"

I created a form based on the "Itinerary" Table then I put in a sub form to show the "Agent Name" and "Market Rep" from the "Agent Info" table.

The relationship is on Agent number in both tables. The user then adds the agent number on the form and the Agent name and Market rep automatically come in.

The problem is the user wants to be able to occasionally modify the info in the Agent Name and Market Rep fields. But does not want the new info to be changed on the original "Agent Info" table.

Can this be done?
I hoep someone can help.

View 1 Replies View Related

Tables :: Lock Record From Erroneous Data Entry Or Editing?

Apr 12, 2013

Is it possible to have a 2 step confirmation process.

I have a yes/no control box to confirm that the record is OK or correct.

Is it possible to have a second process where by I can lock the record from erroneous data entry or editing? Like a "Post" in accounting.

View 3 Replies View Related

Lock A Table For Editing The Records

May 22, 2007

Hello all,

I have a question, I'm building a MS ACCESS database and within it i have a table for putting in my program critical parameters. I don't want anyone to change the content of that table. That means not editing the 1 record in it and not adding a new record. Within the program is't a problem but if you make an other blanc database you can import the table, change it and export it back into the program (i know it is far looking but it happens).

How can i lock a table so it cannot change or it cannot be exported or imported???

View 2 Replies View Related

Tables :: Filter Table With No Editing

Jun 10, 2013

I'm creating an application and I want the users to be able to view a table and filter it, however; they won't be able to edit it. Like I said, seems simple enough, but since I'm new to Access I'm not sure how to approach this.

View 1 Replies View Related

Access - Locked Table For Editing

Aug 31, 2012

I have a table which is linked to a form which has been working fine for over a year now but yesterday the table "locked" for editing. I can now only copy data from the table. The editing functions delete, cut, new etc are not working, we can still filter the data.If we enter data on the form it creates a new line on the table but we cannot edit directly from the table.

View 6 Replies View Related

Modules & VBA :: Show Lock Status Of A Record When Other User Is Editing Data?

Mar 27, 2015

I have a form and I want show a message on the form when the it is locked as another user is editing the data in a particular record.

I know the record selectors show the records lock status but it a very tiny symbol which will mean nothing to the users of the database and anyway I don't want record selector bar on the form. How I would do this???

View 2 Replies View Related

Form For Editing Only

Mar 24, 2006

I set my form in Design view to Allow Edits but not Additions, and when I switch it to (or open it in) Form view, all the combo and text boxes and buttons disappear (the background color and header are all that's left).

All I want to do is edit existing records through the combo boxes. How can I correct this?

View 4 Replies View Related

Editing Records In A Form

Sep 4, 2005

Hi all
At the moment I have a form which links to a table, one of the columns in the table is called "Description" so the user can input a sentence or two. Basically I when I open this form (in Edit Mode as Im using a Switch Board)it will not allow me to edit a current record.

I can edit a record in the tabel but not in the form.... :eek: .. help

Any help would be superb

Cheers

View 2 Replies View Related

Editing Records In A Form

Oct 25, 2005

I have a very simple form that is populating fields with records from a number of tables (not queries).

I have found that I cannot edit any of the records from the form. Almost all of these fields are NOT key fields. When I click in the field, it simply selects the text in the field, but does not allow me to alter it (typing does nothing...the cursor just blinks). The same thing happens for blank fields.

I know this is a simple question, but I can't find the answer in help or searching this forum. I know it must be a simple setting (I think) somewhere but I've tried a number of settings in properties/forms.

Thanks,

Kelly

View 9 Replies View Related

Editing Form While Another Is Open

Jul 26, 2015

From the mainform "Home" the "Order Details" Form is launched and changed to Design view. Here I cannot edit the "Order Details" form Property Sheet unless the "Home" form is closed.

Why this restriction is enforced?

View 3 Replies View Related

Editing A Field OnClick In A Form

Jul 26, 2005

I have a button in a form that needs to change the text in a field named idStatus from "Assigned" to "Returned"

I have tried using an expression like this "[Form]![Field]=12" in the OnClick spot but it returned an error. There is no "custom made" wizard for this and my VB skills are lacking.

Once again, thanks! (I know I post alot but this forum is amazing!)

View 1 Replies View Related

Help! Having Trouble Editing A Record Using A Form

Aug 17, 2006

Dear access experts,

I created form based on a query of around 7 tables, all the fields are set to
enabled and edits are allowed; however, access wont allow me to edit any of
the fields in that form! I know that the query is correct because i can flick
through the records and the fileds change.. please help:eek:

View 2 Replies View Related

Forms :: Editing Records Through A Form

Aug 13, 2014

Just a general query about the best approach to take for an editing form.

I want to have two separate forms, one for adding a new record (have completed this) and one for choosing and then editing a selected record.

I have seen that people use combo boxes to display a list of records with fields. This seems quite difficult to use. Maybe that's the best way though?

How do you apply an edit button to a selected record in this type of situation? I suppose really I need a box that has a list of records with a little edit button next to each one, or can I do something that launches the edit form as soon as you click on a specific record?

View 2 Replies View Related







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