473,399 Members | 3,656 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Cannot Add Data

Hi, I have table1 and table2, both are linked, and a query has been
run. I created forms that use both just the tables, and then another
one using just the query. All of the information is there, but I
cannot edit any records nor can I move to a new record on the forms.
I checked to see if they were locked, and they are not.

Please help!

Apr 15 '07 #1
3 3924
do you mean that you can't add/edit data in the form bound to the query,
only? or are you also having that problem in the two forms that are each
bound directly to a table?

if the query-bound form only, suggest you open the query in Datasheet View
and see if you can add/edit records there. if not, then the problem is in
the query design rather than in the form.

if the table-bound forms also cannot be edited, suggest you examine the
AllowEdits, AllowAdditions and RecordsetType properties of each form (there
is no Locked property at the form level). read up on those properties in
Access Help so you'll understand what the different settings do.

hth
<ep********@comcast.netwrote in message
news:11*********************@y80g2000hsf.googlegro ups.com...
Hi, I have table1 and table2, both are linked, and a query has been
run. I created forms that use both just the tables, and then another
one using just the query. All of the information is there, but I
cannot edit any records nor can I move to a new record on the forms.
I checked to see if they were locked, and they are not.

Please help!

Apr 15 '07 #2
I just looked again (btw, I am working with 2 tables, one query, one
form now). I cannot add records in the query. I am sure it is
because of the relationship in which I was unable to make enforce
inferential integrity since I could not indicate TA ID in the main
table as a primary key. In both tables, there is information for a TA
ID which neither are primary keys. I linked them so that the
information would correlate with each entry. (TA ID is a unique
record, however, the TA ID consists of numbers and letters. I tried
many differerent ways to have Access let me make that a primary key in
the main table, but it will not; i.e. formatting, unique indexes,
etc.) In both the query and the form, the information correlated with
each other just fine, I just cannot add new records.

I know I am missing something simple here. Argh! (The TA ID format
cannot be changed)

On Apr 15, 5:30 pm, "tina" <nos...@address.comwrote:
do you mean that you can't add/edit data in the form bound to the query,
only? or are you also having that problem in the two forms that are each
bound directly to a table?

if the query-bound form only, suggest you open the query in Datasheet View
and see if you can add/edit records there. if not, then the problem is in
the query design rather than in the form.

if the table-bound forms also cannot be edited, suggest you examine the
AllowEdits, AllowAdditions and RecordsetType properties of each form (there
is no Locked property at the form level). read up on those properties in
Access Help so you'll understand what the different settings do.

hth

<epearce...@comcast.netwrote in message

news:11*********************@y80g2000hsf.googlegro ups.com...
Hi, I have table1 and table2, both are linked, and a query has been
run. I created forms that use both just the tables, and then another
one using just the query. All of the information is there, but I
cannot edit any records nor can I move to a new record on the forms.
I checked to see if they were locked, and they are not.
Please help!- Hide quoted text -

- Show quoted text -

Apr 17 '07 #3
As you have not explained what TA ID represents, nor the type of Field, nor
anything else about it, it is not possible for us to offer suggestions as to
why you can't set it as the PK.

However, if you _include_ the PK of the Table that you want to update in
your Query, you may have better luck in updating. The Tables do not have to
be Joined on the PK.

"Linked" tables, in Access, are Tables external to your database -- when you
"connect" Tables in a Query, it is known as a "Join".

Larry Linson
Microsoft Access MVP

<ep********@comcast.netwrote in message
news:11**********************@l77g2000hsb.googlegr oups.com...
>I just looked again (btw, I am working with 2 tables, one query, one
form now). I cannot add records in the query. I am sure it is
because of the relationship in which I was unable to make enforce
inferential integrity since I could not indicate TA ID in the main
table as a primary key. In both tables, there is information for a TA
ID which neither are primary keys. I linked them so that the
information would correlate with each entry. (TA ID is a unique
record, however, the TA ID consists of numbers and letters. I tried
many differerent ways to have Access let me make that a primary key in
the main table, but it will not; i.e. formatting, unique indexes,
etc.) In both the query and the form, the information correlated with
each other just fine, I just cannot add new records.

I know I am missing something simple here. Argh! (The TA ID format
cannot be changed)

On Apr 15, 5:30 pm, "tina" <nos...@address.comwrote:
>do you mean that you can't add/edit data in the form bound to the query,
only? or are you also having that problem in the two forms that are each
bound directly to a table?

if the query-bound form only, suggest you open the query in Datasheet
View
and see if you can add/edit records there. if not, then the problem is in
the query design rather than in the form.

if the table-bound forms also cannot be edited, suggest you examine the
AllowEdits, AllowAdditions and RecordsetType properties of each form
(there
is no Locked property at the form level). read up on those properties in
Access Help so you'll understand what the different settings do.

hth

<epearce...@comcast.netwrote in message

news:11*********************@y80g2000hsf.googlegr oups.com...
Hi, I have table1 and table2, both are linked, and a query has been
run. I created forms that use both just the tables, and then another
one using just the query. All of the information is there, but I
cannot edit any records nor can I move to a new record on the forms.
I checked to see if they were locked, and they are not.
Please help!- Hide quoted text -

- Show quoted text -


Apr 17 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
11
by: RdR | last post by:
Hi, I am using Q Replication, I need to set to logging to capture changes on a table but the table has more than 18 characters for the name, I looked at the docs, it mentioned that table names...
7
by: Wayne Brantley | last post by:
I have found what appears to be an error in streaming with Datasets. It causes an error of 'Cannot find relation 0' when recreating the dataset from a stream. Here is how you reproduce it. ...
2
by: Enska | last post by:
I have problems connecting my access database I get information .. I cant use my database and I'm administrator on my computer so permission shutnot bee problem, but I dont know Where is the...
1
by: bennett | last post by:
I'm trying to write an ASPX page that uses an OleDbDataAdapter to get data from a SQL Server database. When I test the connection, it returns success, and when I preview the data using the...
12
by: paul | last post by:
Hi everyone, I'm debugging an FFT routine and it has thrown up a perplexing error which I cannot trace. Cannot anyone help? I've included the relevant code below with comments: rlft3(data_in1,...
14
by: c676228 | last post by:
Hi everyone, Our site is down, because of our hosting company applied sql server 2000 sp4 on windows 2000 server. right after it applied the service pack, our sql server database is down and...
5
by: wong_powah | last post by:
#include <vector> #include <iostream> using std::cout; using std::vector; enum {DATASIZE = 20}; typedef unsigned char data_t;
0
by: tom | last post by:
When I try to read in a csv file it gives me this error message. 'Cannot update. Database or object is read-only.' If I change the extension to txt it processes just fine. I have googled all...
1
by: Laszlo Nagy | last post by:
Hi All, I'm using a simple program that uploads a file on a remote ftp server. This is an example (not the whole program): def store(self,hostname,username,password,destdir,srcpath):...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.