473,785 Members | 2,801 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

default query to snapshot

i am about to release an access database (all tables and front end are
in ms access 2000), where certain trustworthy users wish to make their
own read-only queries for flexibility in reporting.

in oracle and ms sqlserver we can create read only views that the
users cannot change permissions on. the users can then link these
views to their access front ends and query from them.

What I am looking for is:

* to set the recordset type to snapshot for all users of Access 2000.
* this should happen for them whenever they create a query and not
have to do
it themselves. this means it must be globally set, not just manually
chaning the recordset type property for each query.
* a way of blocking the Query menu in query design mode so the users
cannot choose delete/update/append queries.
* is it possible to make access tables read only in access?? (sorry i
am an oracle person) on LINKED tables (ie the restriction is in the
client with the linked table, not on the base table itself)

i have googled around and it seems that other people have asked this
question and have not been answered.

i would appreciate any code or instructions on setting up a macro that
will allow me to achieve the above upon the user opening access.
all help appreciated

Edwinah63
Nov 13 '05 #1
1 5726
See Security settings - create a user group and give them read only
permissions on the tables you want them to have access to. Provided
they log on as a user who is a member of aforesaid group, they will
not be able to delete/insert/amend records in the tables you have
restricted.

You can also create menus and toolbars to give them only the commands
you want them to have access to. In startup code, you can check the
user name and set menus/toolbars accordingly, thus many people can
have all sorts of different types of access to your
tables/queries/code etc.

Hope this helps. There is plenty in the NG about security and how to
best go about it.

Marian

ed*****@custome rcare.com.au (Edwinah63) wrote in message news:<d7******* *************** ****@posting.go ogle.com>...
i am about to release an access database (all tables and front end are
in ms access 2000), where certain trustworthy users wish to make their
own read-only queries for flexibility in reporting.

in oracle and ms sqlserver we can create read only views that the
users cannot change permissions on. the users can then link these
views to their access front ends and query from them.

What I am looking for is:

* to set the recordset type to snapshot for all users of Access 2000.
* this should happen for them whenever they create a query and not
have to do
it themselves. this means it must be globally set, not just manually
chaning the recordset type property for each query.
* a way of blocking the Query menu in query design mode so the users
cannot choose delete/update/append queries.
* is it possible to make access tables read only in access?? (sorry i
am an oracle person) on LINKED tables (ie the restriction is in the
client with the linked table, not on the base table itself)

i have googled around and it seems that other people have asked this
question and have not been answered.

i would appreciate any code or instructions on setting up a macro that
will allow me to achieve the above upon the user opening access.
all help appreciated

Edwinah63

Nov 13 '05 #2

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

Similar topics

6
20627
by: John Carroll | last post by:
Is there a SQL query that can be run against a database that will give me all the details on any locks that are in place at the given time? I am interested in find the lock type and owner. Thank you, John
11
2146
by: 73blazer | last post by:
We are migrating a customer from Version 7.1 FP3, to Version 8.2 (8.1 FP8). For the most part, things are faster, but there is one query that is much much slower, and it is a query that is used all the time. select ATTR1,ATTR2,ATTR3,ATTR4 from physical.part_list where S_PART_NUMBER like '%KJS%' The widlcard before and after seems to be hosing it, but for this particular piece of the application, this type of query is neccessary.
3
1709
by: Tejas | last post by:
Hi, I have gone through the snapshot API. I need to use it for finding location of database files, tablespace containers etc on a remote machine. These parameters are present in the response. However, for getting only some paramters, I get a huge response, with many parameters that I do not need (mostly many are performance parameters). How long can the snapshot response be, and can it considerably affect performance?
3
3645
by: Bill Hutchison | last post by:
I have a query that returns different results (3508 rows for snapshot, 6288 for dynaset) and that is the only thing I change to get the different results. When I try to make a table from the query, it makes 3508 rows. I also know that there are 6288 unique rows in the results. Is there some configuration choice that is causing the snapshot version to return the wrong row count? Thanks for your help on this one. If it wasn't that the...
3
2775
by: annecarterfredi | last post by:
I was getting snapshot since the database was responding very slow...here is the query that was in a snapshot: WITH TYPEINTS ( TYPEINT, COLTYPE ) AS ( VALUES ( SMALLINT(1 ), CHAR( 'INTEGER', 8) ), ( SMALLINT (2 ), CHAR( 'SMALLINT', 8) ), ( SMALLINT(3 ), CHAR( 'BIGINT', 8) ), ( SMALLINT(4 ), CHAR( 'REAL' , 8) ), ( SMALLINT(5 ), CHAR( 'DOUBLE', 8) ), ( SMALLINT(6 ), CHAR( 'CHAR', 8) ), ( SMA LLINT(7 ), CHAR( 'VARCHAR',...
2
1731
by: crisostomofred | last post by:
I have a report with it's source from a query. The query calls data from 3 related tables. The report is a meeting agenda and I only want to attach a snapshot report to my email based on the specific record on a form. I tried using stLinkCriteria but it always captures all the records on my query as one snapshot attachment with all the records. The only way I can filter the record I wanted was to add a field to my table that users...
25
3725
damonreid
by: damonreid | last post by:
Hey, I am trying to take the results of a query to auto-email people reports only relating to themselves. I can take e-mail addresses from a ListBox and pass them to the SendObject command but I want to take a record set (gained from a query) and pass instead. '*****CURRENT CODE***** Private Sub cmdSendRpt2_Click() ' Attach Access Snapshot Report to Email, take addresses from combo box & Send
3
2462
by: JDubP | last post by:
I know a bit about VBA in Excel, but not about looping records in Access 2003, so any help will be appreciated. I think if someone can send me some sample code, I can muddle my way through. (or if you can send me alink to read how to do it that is fine also) I presently run a macro that: 1) runs a query where User has to input a value for field and 2) prints/saves a report in snapshot view (i have to manually type in file name) I...
2
5543
by: uwcssa | last post by:
is there a way to see the actual (not just estimated) cost and cardinality at each plan operator? SQL Server and Oracle has such feature but I failed to find a way in DB2 yet (up to V9.5)
0
9481
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
10336
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10095
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
9953
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8978
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
7502
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
6741
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5513
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2881
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.