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

Make Table Query in secured DB

I have a secured database that contains a Read-Only group. This group
has permissions to view reports, but cannot add, edit, or delete any
DB objects. One of the reports the group needs access to is generated
with a Make-Table Query. Since the Make-Table Query deletes the
previous table it created everytime it's ran, this poses a problem
since the Read-Only group doesn't have the permission to delete
objects. This causes the report request to be halted. I can actually
choose to unsecure the table, but when it's deleted and recreated
after the query is ran, it's recreated as a secured object. So I'm in
a security loop here.

Any suggestions would be appreciated...
Nov 12 '05 #1
4 2364
ha*********@hotmail.com (Oreo Bomb) wrote in
news:11**************************@posting.google.c om:
I have a secured database that contains a Read-Only group. This group
has permissions to view reports, but cannot add, edit, or delete any
DB objects. One of the reports the group needs access to is generated
with a Make-Table Query. Since the Make-Table Query deletes the
previous table it created everytime it's ran, this poses a problem
since the Read-Only group doesn't have the permission to delete
objects. This causes the report request to be halted. I can actually
choose to unsecure the table, but when it's deleted and recreated
after the query is ran, it's recreated as a secured object. So I'm in
a security loop here.

Any suggestions would be appreciated...


Base the report on a query.

--
Lyle
(for e-mail refer to http://ffdba.com/contacts.htm)
Nov 12 '05 #2
Lyle Fairfield <Mi************@Invalid.Com> wrote in message news:<Xn*******************@130.133.1.17>...
ha*********@hotmail.com (Oreo Bomb) wrote in
news:11**************************@posting.google.c om:
I have a secured database that contains a Read-Only group. This group
has permissions to view reports, but cannot add, edit, or delete any
DB objects. One of the reports the group needs access to is generated
with a Make-Table Query. Since the Make-Table Query deletes the
previous table it created everytime it's ran, this poses a problem
since the Read-Only group doesn't have the permission to delete
objects. This causes the report request to be halted. I can actually
choose to unsecure the table, but when it's deleted and recreated
after the query is ran, it's recreated as a secured object. So I'm in
a security loop here.

Any suggestions would be appreciated...


Base the report on a query.

Well, in my situation I have about five seperate reports that get
rolled into one consolidated report using a certain date range of
data. The reason I use a Make-Table Query as the source of my reports
is that I only have to enter in a data prompt once to strip out the
data I need, rather than five seperate times when I run the
consolidated report. If I do redesign the reports straight from a
query, how can I eliminate Access prompting me multiple times for the
same date range?
Nov 12 '05 #3
ha*********@hotmail.com (Oreo Bomb) wrote in
news:11**************************@posting.google.c om:
Lyle Fairfield <Mi************@Invalid.Com> wrote in message
news:<Xn*******************@130.133.1.17>...
ha*********@hotmail.com (Oreo Bomb) wrote in
news:11**************************@posting.google.c om:
> I have a secured database that contains a Read-Only group. This
> group has permissions to view reports, but cannot add, edit, or
> delete any DB objects. One of the reports the group needs access to
> is generated with a Make-Table Query. Since the Make-Table Query
> deletes the previous table it created everytime it's ran, this poses
> a problem since the Read-Only group doesn't have the permission to
> delete objects. This causes the report request to be halted. I can
> actually choose to unsecure the table, but when it's deleted and
> recreated after the query is ran, it's recreated as a secured object.
> So I'm in a security loop here.
>
> Any suggestions would be appreciated...


Base the report on a query.

Well, in my situation I have about five seperate reports that get
rolled into one consolidated report using a certain date range of
data. The reason I use a Make-Table Query as the source of my reports
is that I only have to enter in a data prompt once to strip out the
data I need, rather than five seperate times when I run the
consolidated report. If I do redesign the reports straight from a
query, how can I eliminate Access prompting me multiple times for the
same date range?


I'm !!!strictly guessing!!! about what you want to do, and thinking that you
cannot do it with a query without being prompted for the parameters each time
you open a report,unless you learn a little VBA and change the QueryDef's SQl
before running the reports eg:

Set qdf = DBEngine(0)(0).QueryDefs(qryChargesName)
With qdf
.SQL = "SELECT * FROM tblCharges WHERE Sent = No And Account = Chr
(34) & strAccountNumber & Chr(34)

or unless you set the SQL to reference some form control value or public
function.

It might be worth your while to learn a little VBA, (I apologize if I'm wrong
and you already know this) as it would enhance your Access capability
enormously.

--
Lyle
(for e-mail refer to http://ffdba.com/contacts.htm)
Nov 12 '05 #4
Lyle Fairfield <Mi************@Invalid.Com> wrote in message news:<Xn*******************@130.133.1.17>...
ha*********@hotmail.com (Oreo Bomb) wrote in
news:11**************************@posting.google.c om:
Lyle Fairfield <Mi************@Invalid.Com> wrote in message
news:<Xn*******************@130.133.1.17>...
ha*********@hotmail.com (Oreo Bomb) wrote in
news:11**************************@posting.google.c om:

> I have a secured database that contains a Read-Only group. This
> group has permissions to view reports, but cannot add, edit, or
> delete any DB objects. One of the reports the group needs access to
> is generated with a Make-Table Query. Since the Make-Table Query
> deletes the previous table it created everytime it's ran, this poses
> a problem since the Read-Only group doesn't have the permission to
> delete objects. This causes the report request to be halted. I can
> actually choose to unsecure the table, but when it's deleted and
> recreated after the query is ran, it's recreated as a secured object.
> So I'm in a security loop here.
>
> Any suggestions would be appreciated...

Base the report on a query.

Well, in my situation I have about five seperate reports that get
rolled into one consolidated report using a certain date range of
data. The reason I use a Make-Table Query as the source of my reports
is that I only have to enter in a data prompt once to strip out the
data I need, rather than five seperate times when I run the
consolidated report. If I do redesign the reports straight from a
query, how can I eliminate Access prompting me multiple times for the
same date range?


I'm !!!strictly guessing!!! about what you want to do, and thinking that you
cannot do it with a query without being prompted for the parameters each time
you open a report,unless you learn a little VBA and change the QueryDef's SQl
before running the reports eg:

Set qdf = DBEngine(0)(0).QueryDefs(qryChargesName)
With qdf
.SQL = "SELECT * FROM tblCharges WHERE Sent = No And Account = Chr
(34) & strAccountNumber & Chr(34)

or unless you set the SQL to reference some form control value or public
function.

It might be worth your while to learn a little VBA, (I apologize if I'm wrong
and you already know this) as it would enhance your Access capability
enormously.


I'll give it a shot, and I do appreciate the coding, even if it's a
guess! I really do need to learn VBA for Access because I keep
hitting these annoying little walls that the built-in tools can't
handle. I'm pretty familiar with VBA for Excel, but it's a bit
different for Access.

Thanks again!
Nov 12 '05 #5

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

Similar topics

1
by: PMB | last post by:
Thank you in advance for any and all assistance. I'm trying to use a make table query to pull the last transactionID, so I can use an append query to reset the transactionID to the next...
2
by: Kathy Krizl | last post by:
I'm probably doing something stupid, but I have a make table query. One of the tables I reference has some check box fields in it. Their Data Type is Yes/No, their field property format is Yes/No,...
0
by: LesM | last post by:
This is a change of behaviour between Access 2000 SP3 and Access 2002 SP3. I have Progress table that is linked via ODBC into Access using OpenLink Lite for Progress 9.0b. For over a year, using...
0
by: Rob | last post by:
I need to allow a user with the default "Full Data User" permissions on the front-end database to relink to a table in a backend to which he has the same permissions. (I'd like to do read, update,...
2
by: Florifulgurator | last post by:
Hello, trying to clean up other´s mess... I´ve replaced some tables (previously linked to another Access DB) with renamed tables linked to a PostgeSQL DB (removed spaces and Ümlauts in names,...
24
by: Bob Alston | last post by:
Anyone know a way to make all access to a linked table, in another Access MDB, read only? I really don't want all the hassle of implementing full access security. I can't do this at the server...
4
by: ken | last post by:
Hi, I use this command to run a make table query without opening it... CurrentDb.Execute "make table query name" Access tells me that it can't execute a select query...? Its a make table query...
3
by: Robertf987 | last post by:
Hi, I'm a bit stuck with an access database. I'm using access 2000 if that's any help. Right, it's 3:40am right now and I'm rather tired, but I *hope* this makes sense. I have a table which...
1
by: securedcardss | last post by:
http://card.2youtop.info secured credit card card credit instant secured card cash credit secured card
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
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,...

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.