473,503 Members | 12,425 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

No Read Permissions on Access 2003 Table

26 New Member
Good Morning,

I am trying to build an application that will take the details from an access database and use them as log in details but I can not get the App to open the table as I keep getting the error Record(s) cannot be read; no read permissions on tbl_users_agb I built the database that has the table so there should not be an issue with permissions. the code I entered is as follows.

Expand|Select|Wrap|Line Numbers
  1.    Private Sub frmSwitchboard_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
  2.         Dim ConSTDB As ADODB.Connection
  3.         Dim strPath As String
  4.         Dim rsLogin As ADODB.Recordset
  5.  
  6.         strPath = "\\Customer\shared\Bengeworth\Access\Metering Service West\Performance Test\Server\Staff_Database_svr.mdb"
  7.         ConSTDB = New ADODB.Connection
  8.         ConSTDB.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & strPath & ";"
  9.         ConSTDB.Open()
  10.  
  11.         txtLogin.Text = GetUserName
  12.         rsLogin = ConSTDB.Execute("SELECT * FROM tbl_Users_agb WHERE tbl_Users_agb.User_id = " & GetUserName)
  13.  
  14.         If rsLogin.EOF = True Then
  15.             MsgBox("Error No User Found" & vbNewLine & "Please Contact Performance Team")
  16.         Else
  17.             Me.txtName.Text = rsLogin.Fields("Name").Value
  18.             Me.txtAuthLevel.Text = rsLogin.Fields("Group").Value
  19.         End If
  20.     End Sub 
In this code Staff_Database_Svr (Access 2003) is the back end of our staff database and holds the data I need in the tbl_Users_agb there is no password to access the database.

I am sure I am probably missing something simple but if you can give me a hand I would appreciate it.
Dec 30 '09 #1
0 1185

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

Similar topics

7
12643
by: Graham Taylor | last post by:
I've tried posting this in the 'microsoft.public.access' but I will post it here also, as I think it might be the webserver which is causing my problem. --------- I have an Access 2003 database...
1
1475
by: NB | last post by:
Hi This has been tickling my mind for quite some time. Can someone tell me if Access 2003 has a solution for it. After a period of development, your front end will definitely bloat despite...
7
960
by: JerryW | last post by:
I just reinstalled .NET 2003 (after repeated attempts to get ASP.NET Web Applications to work). I first did a complete uninstall of .NET 2003, .NET Framework 1.1, and IIS. I also completely deleted...
3
3992
by: Dave Coate | last post by:
Hello again, I am going to re-post a question. I got some excellent suggestions from Rob and Mattias on this but their ideas did not solve the problem. Here is the original post: ...
5
13250
by: Mitchell S. Honnert | last post by:
Is there a way, given the full path of a folder on a network, that one can programatically tell if you have Read access to that folder? I have an application where the user is able to select a...
11
6411
by: Rico | last post by:
I have a data file that I converted from Access to SQL Server using the upsizing wizard. I then attached the tables to the Access front end using an ODBC connection. I have one table that is read...
10
10220
by: Phil Stanton | last post by:
There are various hidden tables in Acees 2000 including MSysACEs The owner in Engine (I presume the Microsoft Jet Engine); I can't read the data or change the permissions. Any ideas Thanks ...
2
7727
by: ilikebirds | last post by:
So I've come across a complicated Paradox. I am the owner and admin of Database A. However, When I try to open this one certain table in Database A - I get the following : Could Not Read...
1
4352
by: Jim Mandala | last post by:
I had a user that converted an application from Access 2003 to Access 2007. The application is split front-end/backj end. When trying to open certain forms, the front end reportst that they don't...
0
7098
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
7296
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
7364
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...
1
7017
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...
0
7470
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...
1
5026
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...
0
4696
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...
0
1524
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 ...
0
405
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...

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.