A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Cannot enable editing of some fields



 
 
Thread Tools Display Modes
  #21  
Old November 27th, 2009, 12:23 AM posted to microsoft.public.access.forms
BobC[_6_]
external usenet poster
 
Posts: 89
Default Cannot enable editing of some fields

Thanks for you time and explanation! I wasn't expecting any more responses.
I will give it a shot!
Thanks Much!,
Bob

David W. Fenton wrote:
wrote in
:

I am working with a application that I did not create (Access
2007) I cannot seem to be able to allow editing of some fields on
a subform. I changed the properties to Enabled (yes) and Locked
(No); but I am still unable to edit the desired fields?


I've read all the other replies in the query. There is only one
possibility to make it editable that has not been mentioned, and
that's the Jet/ACE-only predicate DISTINCTROW. If you don't want to
dip into the SQL view and add DISTINCTROW after SELECT, go to the
query's properties sheet and select YES for the DISTINCT RECORDS
property. This predicate has the value of figuring out which rows
are unique and thus making (in some cases) both sides of a join
editable.

If it doesn't work, you're out of luck with using joins, and may
need to change your joins to subqueries using IN in the WHERE
clause, i.e.,:

WHERE ID IN (SELECT ID FROM Othertable WHERE ...)

This will leave the main table editable, but sometimes with
subqueries, Jet/ACE will not properly optimize the query and ignore
indexes on one or both sides of the criterion. However, I've found
that to be more like with NOT IN than with IN by itself.

  #22  
Old November 27th, 2009, 12:24 AM posted to microsoft.public.access.forms
BobC[_6_]
external usenet poster
 
Posts: 89
Default Cannot enable editing of some fields

Thanks for you time and explanation! I wasn't expecting any more responses.
I will give it a shot!
Thanks Much!,
Bob

David W. Fenton wrote:
wrote in
:

I am working with a application that I did not create (Access
2007) I cannot seem to be able to allow editing of some fields on
a subform. I changed the properties to Enabled (yes) and Locked
(No); but I am still unable to edit the desired fields?


I've read all the other replies in the query. There is only one
possibility to make it editable that has not been mentioned, and
that's the Jet/ACE-only predicate DISTINCTROW. If you don't want to
dip into the SQL view and add DISTINCTROW after SELECT, go to the
query's properties sheet and select YES for the DISTINCT RECORDS
property. This predicate has the value of figuring out which rows
are unique and thus making (in some cases) both sides of a join
editable.

If it doesn't work, you're out of luck with using joins, and may
need to change your joins to subqueries using IN in the WHERE
clause, i.e.,:

WHERE ID IN (SELECT ID FROM Othertable WHERE ...)

This will leave the main table editable, but sometimes with
subqueries, Jet/ACE will not properly optimize the query and ignore
indexes on one or both sides of the criterion. However, I've found
that to be more like with NOT IN than with IN by itself.

  #23  
Old November 27th, 2009, 12:26 AM posted to microsoft.public.access.forms
BobC[_6_]
external usenet poster
 
Posts: 89
Default Cannot enable editing of some fields

Thanks for you time and explanation! I wasn't expecting any more responses.
I will give it a shot!
Thanks Much!,
Bob

David W. Fenton wrote:
wrote in
:

I am working with a application that I did not create (Access
2007) I cannot seem to be able to allow editing of some fields on
a subform. I changed the properties to Enabled (yes) and Locked
(No); but I am still unable to edit the desired fields?


I've read all the other replies in the query. There is only one
possibility to make it editable that has not been mentioned, and
that's the Jet/ACE-only predicate DISTINCTROW. If you don't want to
dip into the SQL view and add DISTINCTROW after SELECT, go to the
query's properties sheet and select YES for the DISTINCT RECORDS
property. This predicate has the value of figuring out which rows
are unique and thus making (in some cases) both sides of a join
editable.

If it doesn't work, you're out of luck with using joins, and may
need to change your joins to subqueries using IN in the WHERE
clause, i.e.,:

WHERE ID IN (SELECT ID FROM Othertable WHERE ...)

This will leave the main table editable, but sometimes with
subqueries, Jet/ACE will not properly optimize the query and ignore
indexes on one or both sides of the criterion. However, I've found
that to be more like with NOT IN than with IN by itself.

  #24  
Old November 27th, 2009, 12:36 AM posted to microsoft.public.access.forms
BobC[_6_]
external usenet poster
 
Posts: 89
Default Cannot enable editing of some fields

Gee, I wasn't expecting any more responses.
Thanks for taking the time! I had decided that I was not going to get it
to work.
I will give it a shot.
Thanks Again,
Bob

David W. Fenton wrote:
wrote in
:

I am working with a application that I did not create (Access
2007) I cannot seem to be able to allow editing of some fields on
a subform. I changed the properties to Enabled (yes) and Locked
(No); but I am still unable to edit the desired fields?


I've read all the other replies in the query. There is only one
possibility to make it editable that has not been mentioned, and
that's the Jet/ACE-only predicate DISTINCTROW. If you don't want to
dip into the SQL view and add DISTINCTROW after SELECT, go to the
query's properties sheet and select YES for the DISTINCT RECORDS
property. This predicate has the value of figuring out which rows
are unique and thus making (in some cases) both sides of a join
editable.

If it doesn't work, you're out of luck with using joins, and may
need to change your joins to subqueries using IN in the WHERE
clause, i.e.,:

WHERE ID IN (SELECT ID FROM Othertable WHERE ...)

This will leave the main table editable, but sometimes with
subqueries, Jet/ACE will not properly optimize the query and ignore
indexes on one or both sides of the criterion. However, I've found
that to be more like with NOT IN than with IN by itself.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:27 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.