473,473 Members | 1,576 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Field is based on Expression and can not be Edited

7 New Member
I am using a simple query (i.e.) select query taking soem fields , & binding with the controlsource property of the textbox. But I am unabel to edit the same same .Erroe Message when try to enter in that box "Field is based on Expression and can not be edited" .

After clicking on button I am dispalying teh data on 1 form, but some of teh fields only I need to edit & not all.


Request your help.
Feb 5 '10 #1
4 7996
NeoPa
32,556 Recognized Expert Moderator MVP
I know you're working in a foreign language but that is no reason to take so little care over your post. You are asking other volunteers to do you the favour of trying to help you with your problem. Do you not even have the courtesy to check your post before submitting it? Let's not see this again please.

To better understand your problem we'd probably need to see your SQL, but to be honest it seems quite straightforward. You cannot edit a calculated field in a query. If you think about it, it doesn't make a lot of sense to.
Feb 5 '10 #2
missinglinq
3,532 Recognized Expert Specialist
As NeoPa said, you cannot edit calculated data when the calculation is being done in a query or in the Control Source. To be able to edit it, you have to tie your calculation to some event on your form. Typically this would be done in the AfterUpdate event of a one or more controls that hold the component(s) being used in the calculation. The result is then assigned to the field holding the calculated value, and then can be edited.

If you can give us a more detailed explanation of exactly what you're trying to do, I'm sure someone here will be able to help you.

Welcome to Bytes!

Linq ;0)>
Feb 6 '10 #3
learnaccess3
7 New Member
Dear NeoPa,
Sorry for the late reply.
I have notunderstood what I have done wrong. I have asked teh question. Do I hv to post in some other section b4 posting.

Sorry for the inconvenince caused.

While retriving a 5 bfields form a table (Out of which 2 fields are say Name,Address shd be editable, other 3 shd be non-editable.) ..

This is not an expression based query no calculation is involved in any field.

Best Regds
Feb 11 '10 #4
NeoPa
32,556 Recognized Expert Moderator MVP
@learnaccess3
I'll explain it again for you since you ask.

You are submitting your posts with many simple errors of spelling and typos in them. This is laziness. You are also using text-speak which is not allowed on this site (particularly in the technical section). If you want an example, the very short piece that I have quoted above has four obvious typo errors in it. That is in just three sentences.

Notice I don't criticise the English. Those errors we can live with as many of our members do not speak it natively. Typos are simple laziness though, and that is not something that our experts should be struggling with. That is your responsibility to get right before posting. Try reading it first. Most of the errors are very obvious.
Feb 12 '10 #5

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

Similar topics

5
by: Lando Chez | last post by:
Hi I want to create fileds on my form that can not be manually edited through the UI of the form. Instead the (visible) content is changed through changes on other parts of the form. e.g....
1
by: Dalan | last post by:
I apparently need some assistance with Access 97 regarding the changing of a value in a field through use of a check box. I have a subform (sfrmDocList) with a column for indicating if a document...
0
by: MNC | last post by:
I am using Access2002 I have the following code run when a form opens, and the form won't let me edit the recordset. The form and the controls are not locked, edit is allowed, Recordset Type...
2
by: Galina | last post by:
Hello I have an application in MS Access 2000. I have a form, which includes a subform. The subform is based on a table, but locked for any editing. There is Edit button. When clicked, it starts a...
25
by: Lyn | last post by:
Hi, I am working on a genealogy form. The only table (so far) lists everybody in the family, one record per person. Each record has an autonum ID. The parent form (frmMainForm) displays the...
2
by: Randy A. Bohannon | last post by:
This is probably a simple thing to do, but I can't find how in the help files or the manual I have. I'm using Access 2000. I have three tables joined by a common field, and I'm using one form...
2
by: Uwe Range | last post by:
Hi to all, I am working on a form with a combi-field on a subform. I want to give the user the opportunity to alter the list-content (which is based on a table) in a separate form. The user...
1
by: oneillb | last post by:
I have a table I use to enter student data and would like my users to see a student's scholarship amount based on the data they enter into the following fields: - "First Year" or "Transfer" -...
3
by: skinnybloke | last post by:
Hi - I have the following VB function within MS Access which is called via a query. How do I modify this code so that it will only do the replacement based upon the value of another field on the...
5
by: CSmith | last post by:
I have a calculated field in a query, it calculates the # of days an employee has been employed using the following statement =datediff("d", , NOW()) by default. When an employee is terminated, I...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.