General :: Calculated Field Editable On Form?

Jun 20, 2013

So i have a Calculated field in a table which is an expiration date. It adds two years to another field. Both field are on a Form. make the calculated field editable because some of the expiry dates are not necessarily 2 years. How do i change this?? do i need to like code it? i have no clue how to even start.

View Replies


ADVERTISEMENT

Make A Checkbox Editable On A Non-editable Form??

Dec 28, 2004

i have a form that doesn't allow edits... but i also have an 'inactive' check box.. how can i allow this to be editable.. without the rest of the form editable? thanks.

View 3 Replies View Related

General :: Ms Access Calculated Field In Form

Jun 16, 2015

I am working with access forms, but I am having a problem when I try to calculate fields. I have three text box:

Quantity
Price
Total

When I type numbers in quantity and price field the Total field should get populated with the total of Quantity and Prices..I have tried a lot of formulas like:

=[Quantity]*[Price]
But nothing happens when I put the form in Form View. In the Total field I get #Error.

View 1 Replies View Related

General :: Cumulative Sum Of Calculated Field

May 26, 2013

I want to know the "cummulative sum of a calculated field".

Given Lookup table : A = U, V, W | B = X, Y, Z
Field C = iif([A]="U",10, iif([A]="V",20, iif([A]="W",30, 0)))
Field D = iif([B]="X",10, iif([B]="Y",20, iif([B]="Z",30, 0)))
Field E = C+D
Field F = Cummulative sum of "Field E". What would be the expression for the cummulative sum here ?
---------------------------------------------------------------------------------

I tried F = Sum(C+D), but it shows me error
---------------------------------------------------------------------------------

View 2 Replies View Related

General :: Calculated Field In Subform?

Nov 14, 2013

I have an invoice form named frmInvoice. It contains a subform named subInvDetails. I am trying unsuccessfully to transfer a calculated subtotal from a text box in subInvDetails to a total in a text box in frmInvoice. Is there a way to do this? I have tried everything I can think of but I can't seem to make it happen.

To be more precise, I have a textbox which is a calculated value ([Rate]*[Hours]) named txtSubTotal in the sub form. In the main form I have a field named txtTotal. I thought that setting the Default Value of txtTotal to =Sum([Forms]![subInvDetail]![Subtotal]) was the right way to it, but the value of txtTotal remained zero. I have also tried using =Sum([Forms]![subInvDetail]![Subtotal]) as txtTotal's Control Source, but that didn't fit my needs or seem like the right way to do it. It didn't work anyway.

View 3 Replies View Related

General :: Calculated Field - Counting Days

Oct 16, 2013

I am looking to do a calculated field. Not sure what is the best way to do this, but I would like to have a dates in a table with all of our employees that has what date they started with the company. From that I want to know not how many days they have been with the company, but just the years.

So if I have been with the company 364 days, it should only show up as 0, and if I have been with the company for 365, it will read 1. I would like this to be in a query somehow. We use the number of years they have been with the company for their pay, and need it to be years, and not days.

View 9 Replies View Related

General :: Populate Calculated Field Into Table

Aug 6, 2013

I need to populate a table with Grid reference values consisting of 6 figure integers, eastings and northings.

I am receiving/downloading the Grid Refs in a UK Grid Tile format, with 3, 4 or 5 figures preceded by letters.

E.g. SK 456 849, SP 6789 4356.

I have used some query functions and written a bit of VBA behind a form to convert the received coordinates into the full coords I want. The coordinates are now in unbound controls on a form, and I want to pass these back to a table so I can use the data for display purposes.

Ideally I want to link to the table from a GIS and autoupdate without having to open the database (my imported data is linked in to feed the database automatically).

I have done some searching and not found a method to pass the values into a table - What is my best way of doing this automatically?

View 10 Replies View Related

General :: Cannot Change Data Type Of Calculated Field

Aug 23, 2012

I got Gross Income Query. But I have employees that have overtime rate as well

So I have to calculate using overtime Payment And Gross Income Separately

So I make query and in query . I write this equation

Ovetime Pay: IIf([Total Hours Worked]>[Normal Hours/week],([Total Hours Worked]-[Normal Hours/week])*[Overtime Payrate],"0")

I successfully calculate it ...

BUT IT JUST GIVE ME THE VALUE LIKE A NUMBER SUCH AS e.g. 50 ,150 but instead of that i want currency data type of that calculate field for e.g. 50 become "$ 50".

Okay so in able to do that i go to properties Sheet of the field of the query and change Format to Currency ..BUT IT DOESN'T CHANGE !!!

DATABASE PAYROLL - Copy.zip

View 2 Replies View Related

General :: Changing Data Type Of Calculated Field In Table

Jul 18, 2013

I am trying to change the data type of a field in a table from calculated to something else. It gives me the error "this data type cannot be changed once the field has been saved"

Is there any work around to this?

View 2 Replies View Related

General :: 2 Fields From Separate Tables Needed To Create Calculated Field?

Aug 19, 2013

The interface being used is a main form with various tabs and a subform on each of these tabs.

There is one field ('max power density') in my database that is calculated using 'Max Rated Power' and 'Cylinder Capacity' however these are in different tables and subforms. The 'max power density' and 'max rated power' are in table and subform 1 but 'cylinder capacity' is in table and subform 2. Is it possible to keep them in separate tables/subforms and still calculate the field?

View 7 Replies View Related

General :: Database To Automatically Choose Option Depending On Calculated Field?

Aug 10, 2015

I have an option button for a field [Fully Paid] (Yes/No) in my LoanT and i want to know if it's possible for my database to automatically choose an option depending on a calculated field

(Calculated field from another query) = [Outstanding Balance]

Say... if [outstanding balance] is = 0 or negative (refundable), then Yes should be On, if not it should remain No/off so that i wouldn't have to go over every record and manually choose the option

The option button is very useful when i want to display loans which are Paid and/or still active. How do I go about this?

View 14 Replies View Related

Access Subform With Additional Field But Not Editable

Nov 16, 2014

I created an instructor form with a sub form table on the bottom - [pic at the bottom] I would like to add columns in the subform from the instructor_info subform but it should not be editable, just display it as per the column relationship key, and the relationship key for the 2 tables (instructor_info & course_table) is course_id.

Course Table
- Course Date (instead of Course)

- Course Location
- Station Demo
- No. of Teachings
- Hours Taught

Instructor Teaching Info Table
- Instructor ID
- Alone
- Course
- Course Date
- No. of Teachings
- Course Type
- Notes

View 8 Replies View Related

Setting A Field To Editable Based On Windows Login

Dec 18, 2006

I have a field within a form, which I want all the users of the database to see, but I only want it to be editable if your windows logon name is one of the following:

kleaves
jbloggs
Jsmith

I know I can use the environ variable - environ ("username") and I think I should set this code under the properties of this field possibly the on click setting. Can anyone help?

The reason why I want to do it by Windows logon as this form is widely used by many people and there is no logging into the form at startup. I currently have set the changing of this field to be recorded in a historical view, But I still need to restrict the entry to this field.

View 7 Replies View Related

Editable Form

Jun 30, 2005

Hi. I created a form to be used for editing records. It displays ALL records in a "Files" table that match the BoxNo entered on a previous form. The record source is a query which has a relationship between the tblBoxes (one) and tblFiles (many). The records are showing in the form correctly but it will not allow me to edit.

I have set the allow edit, addition, deletion properties of the form to YES, and data entry to NO. Fields are not locked, and they have active tab stops. I also tried using VBA and set the datamode to edit.

Help please!?!
DJP

View 7 Replies View Related

How To Make Fields In Form Non-editable

Mar 6, 2007

Hi,

how do i make the fields in my form uneditable(cannot delete or add but can copy a field from form), i tried setting the properties..allow additions deletions by setting it to no, but even then when i open the form and when data is dispalyed , if i go jus delete (say address field)a field it just gets deletd,
i tried locking the fields too!..nothing worked,
so how do i do this,?
p.s IF i set allow edits to No then i am not able to copy the field (say name has to be copied and pasted into another application or something) how could this be accomplished.
tried setting it in VBA as formname.form.allowdeletions=false , still no luck!

Pls help!
Thanks!

View 2 Replies View Related

Editable Form With Select Query

Dec 17, 2013

I have a form with split view and data it taken from different table using join query, is there any way i can add edit form data and original table data gets changed.

View 2 Replies View Related

Calculated Field On Form

Feb 21, 2008

Having a real brain cramp with this one, so any detailed help would be appreciated:

On a form, I have one bound field that I want to use for calculations - ThirdCompTime. ThirdCompTime needs to calculate the difference between two bound date fields (ThirdTimeIn and ThirdTimeOut) and display the result.

I tried to build an expression to do this:

=[ThirdTimeOut]-[ThirdTimeIn]

but I cannot get the results to display. The two date fields' formats are set as General Date and the calculated field's format is set as Long Integar number. Any ideas?

Thanks!

View 4 Replies View Related

Calculated Field On A Form Problem

Jul 4, 2006

Hi all, I have a Form which calculates how much to charge a client.

I have a "Fee" field, and a few calculated fields based on this fee. The calculated field I'm having problems with is the "Tax" Field.

Prior to July 1, 2006, i had no problems. The tax was basically " =[Fee]*.07 " in the "control source" under the properties of the field i created in the form.

After July 1, the tax just went down (in Canada) to 6%. I can just simply change the control source to =[Fee]*.06 ...however, when I do this, the form also changes all the clients before July 1 to a tax rate of 6% as well...I'm not good with coding, and an not sure how to make the calculated field in the form to change the tax rate to 6% only if the client's contact date is after July 1, 2006. ContactDate is also another field in this form.

Help is much appreciated.

View 8 Replies View Related

Calculated Field From Form To Table

Sep 18, 2006

Hello,

I have been reading various threads about this subject and I know that one shouldn't store a calculated field in a table.

I believe this may be an exception to the rule (but I could be wrong).
I am making a pricing database that will use a few manual inputs and the rest of the fields will be calculations (gross/profit margin, expenses) based off these inputs. We need to have these calcuated fields stored because they are essential to the pricing decisions and we will have to go back and access these fields at a later time. Another reason for this is because there will be at least one report that will be used to compare prices and calculated fields associated to a certain product by company, program, item type, ect...


Any help would be greatly appreciated.

View 2 Replies View Related

How To Make Autocomplete Form With Editable Subform Underneath

Apr 18, 2012

I am making a library database which would be used in a school. I need to make a form which allows me to type in the persons id number then the persons profile will come up automatically then underneath there will be the persons book loans in a subform which i dont know how to do ...

So the top bit will have the persons details like personid, surname, first name, tutor group and then below there would b a subform with fields in from two different tables like from the book table there will be author surname, author firstname, bookname then from the loan table there will be the date the book was loaned field

The subform would also have to let me edit it so that i can add new loans or remove loans which i also dont know how to do but i was thinking if i had to add new records of the book would the subform have to autocomplete too? to save time typing all the details of the book

so so far i have made the tables added some test data and made relationships between the tables

a person can have many loans
a book can have one loan

I think there is something to do with queries to make this whole thing work but I am totally lost what i have to do, I've been reading some forum posts which are similar about autocomplete forms which i have done but it wont work when i do it with the problem I have.

View 14 Replies View Related

Possible To Filter A Form Based On A Calculated Field...?

Apr 12, 2006

Hi.
I have an Order form that is based on an Order table. In this form there are also a number of text boxes (not bound to table) with calculations, and one final text box with a deadline based on these calculations.
Is it possible to filter this form based on the deadline? I can do this by making the form based on a query, but then again I'm not able to edit the information in the form.... Please anyone???

View 2 Replies View Related

Save Calculated Form Field To Table

Oct 3, 2006

I have a form which calculates alot of numbers. Im trying to figure out how to save the calculation to a table field. Is this possible? Can someone help me with a solution please

View 2 Replies View Related

Forms :: Calculated Field On Main Form

May 31, 2013

I have a main form with several with four subforms. On the main form I have a bound text box [ShiftTotal] I have on each subform a unbound text box that sums a field [ExtTaxIn]. I am working with just one subform till I can get it to work correctly. The code I am using on the after update event is as follows.

code

Private Sub TxtSoldQty_AfterUpdate()
On Error GoTo HandleError
Me.ExtTaxIn = (Me.TxtSoldQty * Me.TaxIn)
Me.ExtPrice = (Me.TxtSoldQty * Me.Price)
Me.InvSold = (Me.TxtSoldQty * Me.UnitOfSale)
Forms!frmShiftMain!TxtShiftTotal = Forms!frmShiftMain!TxtRunningTotal
Me.txtExtTaxIn.Requery

[code]...

This sort of works but the [ShiftTotal] on the main form is always one table row behind. I think this is because of the order the event fires.

View 2 Replies View Related

Forms :: Sum Of Calculated Field In Form Footer

Mar 12, 2014

I have a form with three fields named 'quantity' (numberfield), 'service' (combo box) and 'amount' (calculated field with controlsource =[service].[Column](2)*[quantity].

I try to sum the amount field in the formfooter with =Sum([service].[Column](2)*[quantity]) but I receive an error.

Somehow it does not get the value for [service].[Column](2)

How can I do this?

The table for the form is called customer_detail

View 2 Replies View Related

Calculated Field That Shows Sum Of Two Other Fields On Same Form

Feb 12, 2013

I have a calculated field that shows the sum of two other fields on the same form. I've got as far as making the expression work but it doesn't quite do what I want. I need the calculated field to update when any one of the reference fields are updated (i.e. currently it only updates once all the fields in the expression are updated).

How to I change the form so that the calculated field updates based on current values (including any fields that contain no value)?

View 14 Replies View Related

Forms :: Locked Checkbox To Make Form Fields Not Editable

Apr 3, 2013

I am using Access 2010 and I have my tables hidden in the navigation pane (I don't have any concerns about users finding the tables to make edits), however I am looking to "lock" all fields on a form once a user saves the record. The concern is that when they go to enter a new record they may end up on a previous record and overwrite the information. My thought was to create a checkbox on the table that I can edit each week to lock records. At that point, what type of code can I create or use that will lock records on the form?

View 2 Replies View Related







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