473,416 Members | 1,525 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,416 software developers and data experts.

How to edit calculated field in FORM

Can I edit an calculated field in my form if needed. Thank you in
advance for your help.
Sincerely
Apple
Nov 13 '05 #1
4 5349
Need more details. Usually if you didn't create the calculated field
in a query the calculated field is an unbound box.

You can insert an unbound text box and create a calculated field.

Nov 13 '05 #2
Apple,
No. Think about Excel. If you edit a cell in a worksheet that had a
formula and your edit replaces the formula with a value then you've lost
that formula. You can fake it by placing code behind the form which
interacts with a text box and does your formula in the code behind the form
then puts the result back in your text box.

"Apple" <tt*********@yahoo.com.hk> wrote in message
news:55**************************@posting.google.c om...
Can I edit an calculated field in my form if needed.

Nov 13 '05 #3

Apple wrote:
Can I edit an calculated field in my form if needed. Thank you in
advance for your help.
Sincerely
Apple


Only if you do something like calculate the value and insert it into a
field when exiting another field (in other words, you'll need code to
do it.) What are you trying to do? Make a calculated default value or
something?

Nov 13 '05 #4
pi********@hotmail.com wrote in message news:<11*********************@f14g2000cwb.googlegr oups.com>...
Apple wrote:
Can I edit an calculated field in my form if needed. Thank you in
advance for your help.
Sincerely
Apple


Only if you do something like calculate the value and insert it into a
field when exiting another field (in other words, you'll need code to
do it.) What are you trying to do? Make a calculated default value or
something?

Hi, Thank you for all of your reply. Let me explain my situation. I
have a receipt to charge customer & received payment (No more
invoice). I have 4 items to be charged, and each receipt charge one
item only. 2 items have a fixed rate (will be revised within a period)
& 2 items without fixed rate. So when I select the fixed rate items,
the calculation of [itemVaule} * [PayPeriod] can be workable. But in
the items without fixed rate, I hope I can put the [Total amount] by
myself. In addition, I need all the above to generate a report. Hope
the above will give all of you a right director to think of my
problem. Thank you again for your help.

I had tried to calculate in query by using an expression : [ItemValue]
* [PayPeriod], but the result is can't edit the [TotalAmount} field in
FORM.

When I had tried to use an unbounded test box in FORM and make an
equation in ON CURRENT EVENT - Me.TotalAmount = Me.ItemValue *
Me.PayPeriod, it can edit the [TotalAmount] field, but it can't save
it, I need the [TotalAmount] to generate report.

Sincerely
Apple
Nov 13 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Anonymous | last post by:
Hi all, I have a form people use to enter checking data. One of the fields is calculated based on finding the difference of two input fields on the form. Here are the fields: CheckAmount...
1
by: Miguelito Bain | last post by:
hi everybody. i'm trying to find out what you can and can't do with/in calculated fields. any help, pointers, and/or advice would be greatly appreciated. i'm a newbie, but i want to learn, and...
1
by: douh | last post by:
I know that this is not the way, however I need to save certian calculated values so that they do not change over time, ie. new tax rates etc. This is for an invoice header and invoice subform. I...
1
by: Norbert Lieckfeldt | last post by:
MS Access 2002 here. I am just trying to set up a simple database for a friend who's an optician. Basically, all clients with address details, date of last eyetest and a drop-down combo box to...
2
by: david | last post by:
Hi, I have a form with a couple of calculated fields. I want to put some code into the 'Form-Load' event to set various object states on the form, depending on the value of these fields. The...
1
by: tconway | last post by:
I have an Access program that displays Customer data into a form and OrderID data into a subform. The totals in the Subform are based on calculated fields, i.e. the Total Amount field Calculates...
2
by: markm75c | last post by:
Does anyone know of a way to sort a column which isnt databound or an actual field in the database, but is derived from a method? IE. I have a grid showing stats for softball, with a calculated...
3
by: kelley.l.turner | last post by:
Hi all, I am very new to MS Access so please bear with me! I have created a simple calculated field in my data entry form, yet when I view my data table or try to generate a report based on...
2
by: jcf378 | last post by:
hi all. I have a form which contains a calculated control ("days") that outputs the # of days between two dates (DateDiff command between the fields and ). However, when I click "Filter by...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.