473,597 Members | 2,190 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3939
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********@com cast.netwrote in message
news:11******** *************@y 80g2000hsf.goog legroups.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...@com cast.netwrote in message

news:11******** *************@y 80g2000hsf.goog legroups.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********@com cast.netwrote in message
news:11******** **************@ l77g2000hsb.goo glegroups.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...@co mcast.netwrote in message

news:11******* **************@ y80g2000hsf.goo glegroups.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
5460
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 -------------------------------------------------------------------------------- Hello, I have a very simple problem but cannot seem to figure it out. I have a very simple php script that sends a test email to myself. When I debug it in PHP designer, it works with no problems, I get the test email. If
11
2519
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 with more than 18 characters are allowed in DB2 V8 but when you turn on logging, it will not turn on logging. Is there a work around to this? Thanks
7
3838
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. Lets assume you have tables like this: Customers CustomerName: Varchar(50) CustomerNumber: Int (Primary Key)
2
2116
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 problem. Can enybody help me!!!! Server Error in '/Koulu/tietokannat' Application. -------------------------------------------------------------------------------- The Microsoft Jet database engine cannot open the file...
1
1973
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 Adapter's "preview data" right-click option, it works, but when I load the actual page, I get the error "Cannot open database requested in login 'cookiecutter'. Login fails." It seems to work when I use a pre-existing database like Northwind or...
12
8075
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, speq_out1,1,512,256,1); // Perform FFT on 1st set of input data rlft3(data_in2, speq_out2,1,512,256,1); // Now 2nd set
14
1704
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 no conn etc. When one technical support restart the server, the obejcts like tables in database cannot be recognized from our asp pages anymore, data cannot be inserted into any database table and data cannot be
5
5030
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
2267
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 sites on this and I haven't found anything to help. (tried registry stuff, reinstall .NET 2.0, patches). This just broke out the blue too which is weird because it was running fine on our server on monday but now it pukes. Here is the code. ...
1
4112
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): self.ftp = ftplib.FTP(hostname) self.ftp.login(username,password) self.ftp.set_pasv(False)
0
7970
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7887
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8274
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8381
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8036
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8259
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6695
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5434
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3886
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...

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.