473,666 Members | 2,258 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

No warning when deleting records

My Ak2 databas has been running successfully for many years althogh it gets
upgraded regularly.

I now find on this, and other dbs, when I delete a record I no longer get
the message "You are about to delete 1 record.....".
What has gone wrong / got changed?

Thanks Phil
Sep 18 '08 #1
6 9585
Phil Stanton wrote:
My Ak2 databas has been running successfully for many years althogh it gets
upgraded regularly.

I now find on this, and other dbs, when I delete a record I no longer get
the message "You are about to delete 1 record.....".
What has gone wrong / got changed?

Thanks Phil

Did you do something like
Docmd.SetWarnin gs = False
in your code and not reset it back to True?

Sep 18 '08 #2
Hi Salad,
I wondered that and there are a couple of places where that could happen,
but as far as I know, I have never used that bit of code

Anway before trying the delete on a table, I typed DoCmd.SetWarnin gs True in
the immediate window. Still have the problem

Thanks,
Phil
"Salad" <oi*@vinegar.co mwrote in message
news:Ca******** *************** *******@earthli nk.com...
Phil Stanton wrote:
>My Ak2 databas has been running successfully for many years althogh it
gets upgraded regularly.

I now find on this, and other dbs, when I delete a record I no longer get
the message "You are about to delete 1 record.....".
What has gone wrong / got changed?

Thanks Phil
Did you do something like
Docmd.SetWarnin gs = False
in your code and not reset it back to True?

Sep 18 '08 #3
Phil Stanton wrote:
Hi Salad,
I wondered that and there are a couple of places where that could happen,
but as far as I know, I have never used that bit of code

Anway before trying the delete on a table, I typed DoCmd.SetWarnin gs True in
the immediate window. Still have the problem

Thanks,
Phil
"Salad" <oi*@vinegar.co mwrote in message
news:Ca******** *************** *******@earthli nk.com...
>>Phil Stanton wrote:

>>>My Ak2 databas has been running successfully for many years althogh it
gets upgraded regularly.

I now find on this, and other dbs, when I delete a record I no longer get
the message "You are about to delete 1 record.....".
What has gone wrong / got changed?

Thanks Phil

Did you do something like
Docmd.SetWarn ings = False
in your code and not reset it back to True?
Let's try a test. Create a dummy table. Call it Junk or whatever.
Create 1 field and save the table and enter 4 or 5 records. Now CTRL+A
to select the records and press the Delete key. Do you get the
confirmation message? If so, then I'd add a couple more junk records
and create a temp form on that table and try to delete from the form.
If you don't get the message...time for Allen Browne.
Sep 18 '08 #4
Thanks for coming back, Salad

Created a new DB and Table
Deleted records as suggested and still no warning message.
Lets hope Allen spots this message. In the meantime I think I will remove
Access and reload it in case it has got corrupted..

Why is it I always seem to get unsolvable problems. For example on my Office
machine, running a copy of the same Db as on this machine, FE & BE
situation, I can see all the relationships as normal in the BE Db but
therelationship s of the linked tablesdon't show in the FE.. But at least the
warning message appears on that machine.

I suppose the more Dbs I use, the more problems appear

Thanks

Phil

"Salad" <oi*@vinegar.co mwrote in message
news:cP******** *************** *******@earthli nk.com...
Phil Stanton wrote:
>Hi Salad,
I wondered that and there are a couple of places where that could happen,
but as far as I know, I have never used that bit of code

Anway before trying the delete on a table, I typed DoCmd.SetWarnin gs True
in the immediate window. Still have the problem

Thanks,
Phil
"Salad" <oi*@vinegar.co mwrote in message
news:Ca******* *************** ********@earthl ink.com...
>>>Phil Stanton wrote:
My Ak2 databas has been running successfully for many years althogh it
gets upgraded regularly.

I now find on this, and other dbs, when I delete a record I no longer
get the message "You are about to delete 1 record.....".
What has gone wrong / got changed?

Thanks Phil

Did you do something like
Docmd.SetWar nings = False
in your code and not reset it back to True?

Let's try a test. Create a dummy table. Call it Junk or whatever. Create
1 field and save the table and enter 4 or 5 records. Now CTRL+A to select
the records and press the Delete key. Do you get the confirmation
message? If so, then I'd add a couple more junk records and create a temp
form on that table and try to delete from the form. If you don't get the
message...time for Allen Browne.


Sep 19 '08 #5
Go to Tools - Options - Edit/Find Tab - Confirm - check Record changes,
document deletions, Action queries.
Phil Stanton wrote:
>Thanks for coming back, Salad

Created a new DB and Table
Deleted records as suggested and still no warning message.
Lets hope Allen spots this message. In the meantime I think I will remove
Access and reload it in case it has got corrupted..

Why is it I always seem to get unsolvable problems. For example on my Office
machine, running a copy of the same Db as on this machine, FE & BE
situation, I can see all the relationships as normal in the BE Db but
therelationshi ps of the linked tablesdon't show in the FE.. But at least the
warning message appears on that machine.

I suppose the more Dbs I use, the more problems appear

Thanks

Phil
>>Hi Salad,
I wondered that and there are a couple of places where that could happen,
[quoted text clipped - 25 lines]
>form on that table and try to delete from the form. If you don't get the
message...ti me for Allen Browne.
--
Please Rate the posting if helps you

Message posted via AccessMonster.c om
http://www.accessmonster.com/Uwe/For...ccess/200809/1

Sep 19 '08 #6
Brilliant. So simple. I should have kicked myself for not spotting it,
though how it got changed, I don't know

Thanks a lot

Phil
"AccessVand al via AccessMonster.c om" <u18947@uwewrot e in message
news:8a6b19c4f1 cf8@uwe...
Go to Tools - Options - Edit/Find Tab - Confirm - check Record changes,
document deletions, Action queries.
Phil Stanton wrote:
>>Thanks for coming back, Salad

Created a new DB and Table
Deleted records as suggested and still no warning message.
Lets hope Allen spots this message. In the meantime I think I will remove
Access and reload it in case it has got corrupted..

Why is it I always seem to get unsolvable problems. For example on my
Office
machine, running a copy of the same Db as on this machine, FE & BE
situation, I can see all the relationships as normal in the BE Db but
therelationsh ips of the linked tablesdon't show in the FE.. But at least
the
warning message appears on that machine.

I suppose the more Dbs I use, the more problems appear

Thanks

Phil
>>>Hi Salad,
I wondered that and there are a couple of places where that could
happen,
[quoted text clipped - 25 lines]
>>form on that table and try to delete from the form. If you don't get the
message...tim e for Allen Browne.

--
Please Rate the posting if helps you

Message posted via AccessMonster.c om
http://www.accessmonster.com/Uwe/For...ccess/200809/1

Sep 19 '08 #7

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

Similar topics

5
2515
by: Alex | last post by:
Hi, I have two tables , A and B where table B has a foreign key constraint to table A. I want to delete all records in table A that are older than a certain date that are not referenced by table B. When I use a DELETE FROM the entire transaction fails as soon as a referential integrity violation is detected.
1
6106
by: Mark | last post by:
This question refers to a main form with a continuous form subform. After an error occurs after entering several records in the subform, how can I delete all the data in the main form and all the records in the subform? I have tried undoing both the main form and the subform and I have tried deleting the record in the main form. Thanks! Mark
4
6142
by: ken | last post by:
Hi, How do you turn of the warning that you get "Can't go to specified record" when you use custom navication buttons which have the following code:DoCmd.GoToRecord , , acPrevious or DoCmd.GoToRecord , , acNext Thanks
1
1310
by: Dave | last post by:
I keep getting this warning (sometimes error): Warning: The dependency 'Brierley.Process, Version=1.0.1711.13537, Culture=neutral' in project 'ATCustomerSrv' cannot be copied to the run directory because it would overwrite the reference 'Brierley.Process, Version=1.0.1760.27985, Culture=neutral'. I get rid of the error by deleting the old dll's for this object. When I investigated this it said saomething about creating a direct
14
5697
by: Averell | last post by:
Hi, I made a gridview with VWD. The gridview has the Delete button set (ShowDeleteButton="True" in the <asp:CommandField>). It works perfect, but i would like to add a warning before the record is deleted to prevent deleting a wrong record. I did this in the code-behind file: Protected Sub GridView1_RowDeleting(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewDeleteEventArgs) Handles GridView1.RowDeleting
11
2025
by: Nemisis | last post by:
Hi everyone, sorry if this post gets really long, i just wanna make sure i fully explain what i am trying to do. I am new to OOP and .net 2.0, so if this is obvious, i am sorry. I have wrote a data access layer, which contists of separate servicebases for each object within my database. CompanyDataService (contains CRUD methods) ContactDataService (contains CRUD methods)
2
4394
by: azmiza | last post by:
Hi everybody, I need your help. I want to view my sql database and its work very well which is display in my web browser but once I want to press button yes, its not working, I check the database the specified row was nit deleted Here I put my script for both. <?php #script view_users.php pg 279
0
5362
by: torpecool | last post by:
Hello Everyone, I have been trying to find information about this issue in the documentation and have not been able to. I hope someone can help. I built a web-based app (PHP) that allows users to upload the contents of a CSV file into database tables. My users have reported that most of the time, everything is fine, but some records do not show up. Although I can see the records by doing
11
3666
by: shriil | last post by:
Hi I have this database that calculates and stores the incentive amount earned by employees of a particular department. Each record is entered by entering the Date, Shift (morn, eve, or night) and the 'employee name'. There is another table which assigns an ID to the Shifts, i.e. 1,2 and 3 for morn, eve & night shifts respectively. From the mother table, the incentive is calculated datewise for each employee as per his shift duty. In...
0
8356
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
8781
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
8550
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
7385
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...
1
6192
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4198
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...
0
4366
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2011
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1772
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.