IN THE SPOTLIGHT: MDE to MDB Conversion Service
(also supports: ACCDE to ACCDB, ADE to ADP, etc)
IN THE SPOTLIGHT: vbWatchdog
VBA error handling just got easier...
" vbWatchdog is off the chart. It solves a long standing problem of how to consolidate error handling into one global location and avoid repetitious code within applications. "
- Joe Anderson,
Microsoft Access MVP
Meet Shady, the vbWatchdog mascot watching over your VBA code →
(courtesy of Crystal Long, Microsoft Access MVP)
IN THE SPOTLIGHT: vbMAPI
An Outlook / MAPI code library for VBA, .NET and C# projects
Get emails out to your customers reliably, and without hassle, every single time.
Use vbMAPI alongside Microsoft Outlook to add professional emailing capabilities to your projects.
Provided by Allen Browne. Created: June 2006. Updated: May 2009
If you cannot edit the data in a query, this list may help you identify why it is not updatable:
It has a GROUP BY clause. A Totals query is always read-only.
It has a TRANSFORM clause. A Crosstab query is always read-only.
It uses First(), Sum(), Max(), Count(), etc. in the SELECT clause. Queries that aggregate records are read-only.
It contains a DISTINCT predicate. Set Unique Values to No in the query's Properties.
It involves a UNION. Union queries are always read-only.
It has a subquery in the SELECT clause. Uncheck the Show box under your subquery, or use a domain aggregation function instead.
It uses JOINs of different directions on multiple tables in the FROM clause. Remove some tables.
The fields in a JOIN are not indexed correctly: there is no primary key or unique index on the JOINed fields.
The query's Recordset Type property is Snapshot. Set Recordset Type to "Dynaset" in the query's Properties.
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.)
The query calls a VBA function, but the database is not in a trusted location so the code cannot run. (See the yellow box at the top of this Access 2007 page.)
|Home||Index of tips||Top|
This is a cached tutorial, reproduced with permission.
Have your say - comment on this article.
What did you think of 'Why is my query read-only?'?
No comments yet.
Why not be the first to comment on this article?!
Have your say...