473,545 Members | 1,839 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Time key is not updateable!! HELP!!

I have a sql database connected with access, but when I try to run
macros which basically just transfer information from tables for
approval an error comes up with "time key is not updateable". I have
found a quick fix in which I can delete the time key from the table
and everything will run fine, but when end users try to change
records
it will not allow them. It comes up with an error that they cannot
save changes and must copy to the clipboard. Which then makes me have
to put the time key back and only then can they make changes. If you
have any suggestions please help!! If you need some more
clarification
please let me know.

Sep 4 '07 #1
1 1424
On Tue, 04 Sep 2007 07:33:51 -0700, ki********@hotm ail.com wrote:
>I have a sql database connected with access, but when I try to run
macros which basically just transfer information from tables for
approval an error comes up with "time key is not updateable". I have
found a quick fix in which I can delete the time key from the table
and everything will run fine, but when end users try to change
records
it will not allow them. It comes up with an error that they cannot
save changes and must copy to the clipboard. Which then makes me have
to put the time key back and only then can they make changes. If you
have any suggestions please help!! If you need some more
clarificatio n
please let me know.
I rather suspect Access is simply giving you the wrong error message,
and the error really has nothing at all to deal with the problem, it
is just one that fits the scenario of one where an update via the form
cannot be accomplished.

There could be quite a few explanations of this problem, but without
actually seeing your database, there's no easy way to tell you what
the exact problem is.

When dealing with access front-ends to SQL Server based back-ends,
whenever you make a "low-level" change to the structure (or working)
of a table (or view), you *MUST* have the users drop and re-create any
links they have to that table or view. This also means any tables (in
access) that are (in reality) views on the server. A table or view
may *appear* to work, but in use there may be some quite disastrous
results.

You will also have to do this when a field that used to allow nulls is
changed to not allow nulls. There are a number of other conditional
changes that can cause this error, the "allowing nulls" to "not
allowing nulls" is just the one I've seen most often. Changing a
field type such as changing a field from Char (or VarChar) to DateTime
is another.

Sep 9 '07 #2

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

Similar topics

6
4253
by: Dave | last post by:
Hey folks, I'm moving from ASP to PHP and I must say that on using this for only a day it is MUCH simpler to get things going. Already have made a VERY basic blog site for myself in a very short period of time. Anyhow I have a datetime issue: On my blog site I capture the date like this: $date=date("Y-m-d g-i-s"); When I display this...
15
2001
by: kpp9c | last post by:
I am kind of in a bit of a jam (okay a big jam) and i was hoping that someone here could give me a quick hand. I had a few pages of time calculations to do. So, i just started in on them typing them in my time calculator and writing them in by hand. Now i realize, that i really need a script to do this because: 1. It turns out there are...
3
17906
by: CrystalDBA | last post by:
I am using SQL Server 2000. I need to query my database for all the contracts that came in during a certain time frame (user is prompted for reportingperiodid). Table - Periods Fields - Reporting Period id int Reporting Period desc varchar(30) Reporting Period Begin Date datetime Reporting Period End Date datetime
17
25877
by: Lapchien | last post by:
My table has a record called date/time - filled (not surprisingly) with a date and time. I can format the date in one query field, also the time, using format in an expression. My user wants me to provide a listing of all table entries between 22:00 and 07:30 the next day, between a given set of dates (typically one week apart but in...
0
1319
by: DS | last post by:
Hi Guys (and ladies): I have a parameter query in A2K that asks for records based on certain criteria. It returns the name and address fields of each record. I usually get about 5 to 10 records from the query. I then use this query as the basis for a Word mail merge but instead of printing out letters, I email the records. The problem is...
14
3094
by: AimeeRae | last post by:
Hi Everyone- I need to figure out how link up a date and time in one database to a specific value in another database. For example: I have a radio station ABCD that aired an ad on Monday, Feb. 5th at 2:04pm. We pay out specific rates depending on the time of the airing. The rates for each station will vary depending on the station/day...
2
2170
jeffbroodwar
by: jeffbroodwar | last post by:
Hi all ! I'm currently working on a project that involves webservices..... the problem is with my database, i can't make it process two rs.updates at the same time. it throws an sqlexception.... i can see that the problem is updating at the same time... how can i fix this? you see.... my program allows multiple users to insert data in...
1
2319
by: nigelesquire | last post by:
I am in need of your assistance. I have a page with multiple unixtime stamps and I need to display them in readable time and date with the user's time zone. Below is the code. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
2
2666
by: horlbecm | last post by:
I am having a problems in with relation to time formats and would greatly appreciate any help. The excel file I am writing the code for uses a Userform to prompt the user to select a file with various data - .txt format. I have to use the delimited options to preserve all the required data in separate cells (i.e. I can't paste into clipboard...
0
7487
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...
0
7420
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...
1
7446
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...
0
7778
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...
0
6003
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...
1
5349
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
1
1908
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1033
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
731
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.