Re: cannot write to database query

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thanks John

What I failed to mention is that this database was fully functioning last
month but since then the linked tables have had to be re linked to the sql
database. A collegue did suggest that I compact and repair the database but
this did not work. However whilst trying to find a solution I did a
replicate it, which fixed the problem, but when I tried it on a similar
database it did not work. Someone else told me that it looked as if the
relationships needed refreshing as some of them may still be linked
incorrectly even thought they look OK. I dont quite understand that if
anyone has any suggestions?! In the end instead of linking the tables for
the other database, I imported the ones I needed but still have the same
problem.

"John Spencer" wrote:

That means that you have created a query that is not updatable. Beyond that
we would need to know more about your table structure and query.

As a guess you may need to use a Main form and subform(s) to control the
data entry in this situation.

In Access Help type the following in the Answer Wizard tab
When can I update data from a query
Select that from the list for an explanation of some of the causes and
alternative solutions.

Access MVP Allen Browne has summarized the reasons:

Query results will be read-only if any of the following apply:
.. It has a GROUP BY clause (totals query).
.. It has a TRANSFORM clause (crosstab query).
.. It contains a DISTINCT predicate.
.. It uses First(), Sum(), Max(), Count(), etc. in the SELECT clause
(performs aggregation).
.. It involves a UNION.
.. It has a subquery in the SELECT clause.
.. It uses JOINs of different directions on multiple tables in the FROM
clause.
.. The query's Recordset Type property is set to Snapshot.
.. The query is based on another query that is read-only (stacked query.)
.. Your permissions are read-only (Access security.)
.. The database is opened read-only, or the file attributes are read-only, or
the database is on read-only media (e.g. CD-ROM, network drive without write
privileges.)

--
Allen Browne - Microsoft MVP. Perth, Western Australia.

--
John Spencer
Access MVP 2002-2005, 2007-2008
Center for Health Program Development and Management
University of Maryland Baltimore County
..

"Asherman" <Asherman@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E90C4D66-A306-482C-8D6B-A8AC3CD61CBC@xxxxxxxxxxxxxxxx
I have created a query using a table and another query but cannot write
into
it. I dont get an error message at all just a bleep. I have tried doing
the
query using the 3 tables that I need but the same thing happens. Each
query/table concerned has an ID field which is linked to each other in the
relationships area.




.



Relevant Pages

  • Re: Creating a temporary table/query for subform
    ... Any object name beginning with "usys" is not displayed in the database ... MS Access MVP ... I cannot let this temporary table or query show ... find any help in the MS Access help on how to do this in VBA. ...
    (microsoft.public.access.queries)
  • Re: DBMS and lisp, etc.
    ... Naively implemented with SQL, again for 10 ... (1 query for the initial orders, 1 query for each order for its ... soon as you upgrade to the SQL database. ... (eq (order-customer orderA) ...
    (comp.lang.lisp)
  • Re: OT: SQL
    ... query processing. ... FROM Employees e, Employees m, Management mgt ... Manager and Employee Salaries. ... The scheme used does not model database files in general, ...
    (sci.logic)
  • Re: Report Query
    ... Access MVP 2002-2005, 2007 ... choose not to) then you can use a "normalizing" union query to return the ... You should be able to use that query as the source for your report. ... Now, with that being said, short of rewriting my database, can anyone ...
    (microsoft.public.access.queries)
  • Re: cannot write to database query
    ... The select query is as shown below, I cannot change the information in the ... What are the SQL views of significant queries? ... What I failed to mention is that this database was fully functioning last ... It has a TRANSFORM clause. ...
    (microsoft.public.access.queries)