A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

ADO/ULS problem



 
 
Thread Tools Display Modes
  #1  
Old February 12th, 2007, 01:52 PM posted to microsoft.public.access
salmonella
external usenet poster
 
Posts: 93
Default ADO/ULS problem


I created an ADO recordset from a table called Students, however the code
will not work for people without permission to read the table. How do I
create a RS from a Table when the USER does not have read permissions to the
table? For example, is there a way to use a RWOP query to generate the record
set?

Once I have the RS, for each record in the set, I am taking the value from
a particular field, creating a record in another table and adding the data
from the RS field to the new record.

Thanks

  #2  
Old February 12th, 2007, 06:07 PM posted to microsoft.public.access
'69 Camaro
external usenet poster
 
Posts: 1,049
Default ADO/ULS problem

Hi.

is there a way to use a RWOP query to generate the record
set?


Yes. Have the database owner create the RWOP query and give read permission
on this query to the group the users are a member of, then generate the
recordset using this query as the source, not the table.

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
Blog: http://DataDevilDog.BlogSpot.com
http://www.Access.QBuilt.com/html/ex...ributors2.html for contact
info.


"salmonella" wrote in message
...

I created an ADO recordset from a table called Students, however the code
will not work for people without permission to read the table. How do I
create a RS from a Table when the USER does not have read permissions to
the
table? For example, is there a way to use a RWOP query to generate the
record
set?

Once I have the RS, for each record in the set, I am taking the value
from
a particular field, creating a record in another table and adding the
data
from the RS field to the new record.

Thanks



  #3  
Old February 13th, 2007, 01:52 PM posted to microsoft.public.access
salmonella
external usenet poster
 
Posts: 93
Default ADO/ULS problem

worked fine- thanks!






"'69 Camaro" wrote:

Hi.

is there a way to use a RWOP query to generate the record
set?


Yes. Have the database owner create the RWOP query and give read permission
on this query to the group the users are a member of, then generate the
recordset using this query as the source, not the table.

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
Blog: http://DataDevilDog.BlogSpot.com
http://www.Access.QBuilt.com/html/ex...ributors2.html for contact
info.


"salmonella" wrote in message
...

I created an ADO recordset from a table called Students, however the code
will not work for people without permission to read the table. How do I
create a RS from a Table when the USER does not have read permissions to
the
table? For example, is there a way to use a RWOP query to generate the
record
set?

Once I have the RS, for each record in the set, I am taking the value
from
a particular field, creating a record in another table and adding the
data
from the RS field to the new record.

Thanks




  #4  
Old February 13th, 2007, 04:24 PM posted to microsoft.public.access
'69 Camaro
external usenet poster
 
Posts: 1,049
Default ADO/ULS problem

You're welcome. Glad it helped!

Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
Blog: http://DataDevilDog.BlogSpot.com
http://www.Access.QBuilt.com/html/ex...ributors2.html for contact
info.


"salmonella" wrote in message
...
worked fine- thanks!






"'69 Camaro" wrote:

Hi.

is there a way to use a RWOP query to generate the record
set?


Yes. Have the database owner create the RWOP query and give read
permission
on this query to the group the users are a member of, then generate the
recordset using this query as the source, not the table.

HTH.
Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
Blog: http://DataDevilDog.BlogSpot.com
http://www.Access.QBuilt.com/html/ex...ributors2.html for contact
info.


"salmonella" wrote in message
...

I created an ADO recordset from a table called Students, however the
code
will not work for people without permission to read the table. How do I
create a RS from a Table when the USER does not have read permissions
to
the
table? For example, is there a way to use a RWOP query to generate the
record
set?

Once I have the RS, for each record in the set, I am taking the value
from
a particular field, creating a record in another table and adding the
data
from the RS field to the new record.

Thanks






 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:08 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.