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  

Determine folder access rights



 
 
Thread Tools Display Modes
  #11  
Old March 4th, 2009, 07:31 PM posted to microsoft.public.access
a a r o n _ k e m p f
external usenet poster
 
Posts: 415
Default Determine folder access rights

by using a real ETL process.

where you get notified (via email) when you have failures.


On Mar 3, 9:24*pm, "John J." wrote:
I do check that. But it could be that the file actually doesn't exists, for
instance because the third party export to the folders went wrong. How would
I know the difference?
John

"Bob Quintal" schreef in ...

"John J." wrote in
:


I have an app that imports Excel files from different read-only
folders (one folder per department). Some users have read access
to every folder, some only for one. Users have their own app. In
the app the user can select one or more departments. Before the
import starts I need to check if the user has read rights to the
specific departement(s) (folder(s)) he has selected. If he doesn't
have the rights, he should be notified and the import is canceled.
Hope this makes things clearer.
John


If you try to open a spreadsheet but do not have read rights to the
folder, Access throws an error message,


All you need is to handle the error and exit the sub.


--
Bob Quintal


PA is y I've altered my email address.


  #12  
Old March 4th, 2009, 10:44 PM posted to microsoft.public.access
Bob Quintal
external usenet poster
 
Posts: 939
Default Determine folder access rights

"John J." wrote in
:

I do check that. But it could be that the file actually doesn't
exists, for instance because the third party export to the folders
went wrong. How would I know the difference?
John


Based on your original definition of the problem and explanation of
what you wanted to do, (see below), knowing the difference would be
irrelevant.


"Bob Quintal" schreef in bericht
...
"John J." wrote in
:

I have an app that imports Excel files from different read-only
folders (one folder per department). Some users have read access
to every folder, some only for one. Users have their own app. In
the app the user can select one or more departments. Before the
import starts I need to check if the user has read rights to the
specific departement(s) (folder(s)) he has selected. If he
doesn't have the rights, he should be notified and the import is
canceled. Hope this makes things clearer.
John

If you try to open a spreadsheet but do not have read rights to
the folder, Access throws an error message,

All you need is to handle the error and exit the sub.

--
Bob Quintal

PA is y I've altered my email address.






--
Bob Quintal

PA is y I've altered my email address.
  #13  
Old March 5th, 2009, 10:34 PM posted to microsoft.public.access
John J.
external usenet poster
 
Posts: 160
Default Determine folder access rights

It is relevant. When the user has no access rights he should get a message
that that is the problem. When the export went wrong and no files exists in
a folder the user has access to, the user should be notified about that.

John

"Bob Quintal" schreef in bericht
...
"John J." wrote in
:

I do check that. But it could be that the file actually doesn't
exists, for instance because the third party export to the folders
went wrong. How would I know the difference?
John


Based on your original definition of the problem and explanation of
what you wanted to do, (see below), knowing the difference would be
irrelevant.


"Bob Quintal" schreef in bericht
...
"John J." wrote in
:

I have an app that imports Excel files from different read-only
folders (one folder per department). Some users have read access
to every folder, some only for one. Users have their own app. In
the app the user can select one or more departments. Before the
import starts I need to check if the user has read rights to the
specific departement(s) (folder(s)) he has selected. If he
doesn't have the rights, he should be notified and the import is
canceled. Hope this makes things clearer.
John

If you try to open a spreadsheet but do not have read rights to
the folder, Access throws an error message,

All you need is to handle the error and exit the sub.

--
Bob Quintal

PA is y I've altered my email address.






--
Bob Quintal

PA is y I've altered my email address.



 




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 10:58 AM.


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