473,385 Members | 1,888 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,385 software developers and data experts.

run time 70 permissions denied trying to update( delete info) on a vista Pc,

run time 70 permissions denied trying to update( delete info) on a vista Pc, how do i get round this, some say MTS??? but can't find that anywhere on the vista Pc, (using VB6)created the program on my XP PC, works fine!!!but when loaded on to a vista the only parts that won't work are the Update, i tried
Expand|Select|Wrap|Line Numbers
  1. '////////////////////////////////////
  2. sql = "update tblBooked set book = false, bookdate = null, bookedby = null where book = true"
  3.  dbAbbeytheatre.Execute (sql) 
  4. '//////////////////////////////////////////
  5. and 
  6. '//////////////////////////
  7. sql = "Select * from tblbooked where tblbooked.book = True"
  8. Set recset = dbAbbeytheatre.OpenRecordset(sql)
  9.  
  10.                    recset.MoveLast: recset.MoveFirst
  11.                                 num = recset.recordcount
  12.               If num > 0 Then
  13.  
  14.                   Do While num > 0
  15.                     recset.Edit
  16.                      recset!book = False
  17.                      recset!bookdate = Null
  18.                      recset!bookedby = Null
  19.                       recset.update
  20.                     recset.MoveNext
  21.                       Loop
  22.             End If
  23. '////////////////////////////////////////
  24. and running a query 
  25. CurrentDb.Execute "bookedclearquery"
and while all three work on XP on vista ......Nothing!!!
any clues folks?
Jan 17 '11 #1
0 881

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: fdp3 | last post by:
Hi, I need to run an exe on my server from a web-page, presumably using asp, does anyone know how I can do this because with this script (below) I get an error : ' permissions denied ' I give...
2
by: news.la.sbcglobal.net | last post by:
hi all i am trying to update or delete a row/record in table cptcodes the error i am getting is key column information is insufficient or incorrect to many rows were affected by update.... ...
3
by: Ian | last post by:
The beginning of my assembly that I am getting the access error from looks like this. ********************************* Imports System.EnterpriseServices Imports System Imports...
16
by: Philip Boonzaaier | last post by:
I want to be able to generate SQL statements that will go through a list of data, effectively row by row, enquire on the database if this exists in the selected table- If it exists, then the colums...
3
by: krock_112 | last post by:
I'm trying to set up a group of shared folders. Folder 1 Folder 2 Common Share I want all users that have access to folder 2 to be able to create new folders, add documents to the sub folders,...
0
by: Andrew Walsh | last post by:
Hello, I'm wondering if postgres has a way to determine the last transaction time (and even better, what the transaction was). I've read through the mail list archives and the only thing I've...
3
by: Richard Marsden | last post by:
Here's another strange error I'm getting when using ODBC to access MySQL. This time ODBC is being more informative, although all the documentation I've looked at, claims that the function in...
3
by: David Thielen | last post by:
Hi; I created a virtual directory in IIS 6.0 and my asp.net app runs fine. But when it tries to write a file I get: Access to the path is denied. - C:\Inetpub\wwwroot\RunReportASP\images ...
0
by: saidev | last post by:
Hi All, One of the table has few data until yesterday and today when i query that table there are no rows. Can please anyone explain how to identify which user has delete and when last...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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.