Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / April 2008

Tip: Looking for answers? Try searching our database.

Form problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Golfinray - 01 Apr 2008 16:29 GMT
I have a form that is not giving me the arrow and asterisk to add new
records. It has the arrow to go to the first record and the last record. All
the tables have the arrow and asterisk at the bottom. I have set allow
deletions, additions, and edits on the form. What could be up? Thanks!
Allen Browne - 01 Apr 2008 16:48 GMT
If the form's source is a query, open the query and see if it is editable
and has the new row. If you can't add records to the source query, you won't
be able to do it in the form either.

Make sure the form's Recordset Type is Dynaset, not the 'inconsistent
updates' one.

If the form is a subform, make sure the parent form allows edits.

Signature

Allen Browne - Microsoft MVP.  Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

>I have a form that is not giving me the arrow and asterisk to add new
> records. It has the arrow to go to the first record and the last record.
> All
> the tables have the arrow and asterisk at the bottom. I have set allow
> deletions, additions, and edits on the form. What could be up? Thanks!
Golfinray - 01 Apr 2008 16:57 GMT
The query is not editable, but I didn't specify it to be un-editable. How do
I make it editable. Thanks!

> If the form's source is a query, open the query and see if it is editable
> and has the new row. If you can't add records to the source query, you won't
[quoted text clipped - 10 lines]
> > the tables have the arrow and asterisk at the bottom. I have set allow
> > deletions, additions, and edits on the form. What could be up? Thanks!
James - 01 Apr 2008 17:24 GMT
On 1 Apr, 16:57, Golfinray <Golfin...@discussions.microsoft.com>
wrote:
> The query is not editable, but I didn't specify it to be un-editable. How do
> I make it editable. Thanks!
[quoted text clipped - 20 lines]
>
> - Show quoted text -

Data in queries cannot be updated for many many reasons, here are some
copied and pasted from the help file:

Query based on three or more tables in which there is a many-to-one-to-
many relationship
Crosstab query (crosstab query: A query that calculates a sum,
average, count, or other type of total on records, and then groups the
result by two types of information: one down the left side of the
datasheet and the other across the top.)

SQL pass-through query (pass-through query: An SQL-specific query you
use to send commands directly to an ODBC database server. By using
pass-through queries, you work directly with the tables on the server
instead of having the Microsoft Jet database engine process the data.)

Query that calculates a sum, average, count or other type of total on
the values in a field, or an update query that references a field in
the Update To row from either a crosstab query, select query (select
query: A query that asks a question about the data stored in your
tables and returns a result set in the form of a datasheet, without
changing the data.), or subquery (subquery: An SQL SELECT statement
that is inside another select or action query.) that contains totals
or aggregate functions
Union query (union query: A query that uses the UNION operator to
combine the results of two or more select queries.)

Query whose UniqueValues property is set to Yes
Query that includes a linked ODBC (Open Database Connectivity (ODBC):
A standard method of sharing data between databases and programs. ODBC
drivers use the standard Structured Query Language (SQL) to gain
access to external data.) table with no unique index (unique index: An
index defined by setting a field's Indexed property to Yes (No
Duplicates). A unique index will not allow duplicate entries in the
indexed field. Setting a field as the primary key automatically
defines the field as unique.), or a Paradox table without a primary
key (primary key: One or more fields (columns) whose values uniquely
identify each record in a table. A primary key cannot allow Null
values and must always have a unique index. A primary key is used to
relate a table to foreign keys in other tables.)

Query that includes more than one table or query, and the tables or
queries aren't joined by a join line in Design view (Design view: A
window that shows the design of these database objects: tables,
queries, forms, reports, macros, and data access pages. In Design
view, you can create new database objects and modify the design of
existing ones.)

Calculated field (calculated field: A field, defined in a query, that
displays the result of an expression rather than displaying stored
data. The value is recalculated each time a value in the expression
changes.)

Field is read-only; the database was opened as read-only or is located
on a read-only drive
Field in record that has been deleted or locked (locked: The condition
of a record, recordset, or database that makes it read-only to all
users except the user currently modifying it.) by another user
Linq Adams - 02 Apr 2008 00:11 GMT
Or for something more suited to human consumption, from Allen:

http://allenbrowne.com/ser-61.html

Signature

There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000/2003

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.