PC Review


Reply
Thread Tools Rate Thread

CurrentUser Function

 
 
Nick
Guest
Posts: n/a
 
      17th Jul 2003
I have written a query to allow record-level access
depending on the user. This makes use of the CurrentUser
function. I am then using a data access page to connect to
the database via the query. When run from within the
database both the query and the DAP work fine, but when I
try and run the page from outside the database (using IE6)
I get an error message "Undefined function 'CurrentUser'
in expression".

Anyone got any suggestions?

Many thanks,

Nick.
 
Reply With Quote
 
 
 
 
Douglas J. Steele
Guest
Posts: n/a
 
      17th Jul 2003
When you run queries against Access from outside of Access, your only
connection to the database is through the Jet engine, which doesn't know
about many of the Access functions (and definitely none of the user-defined
functions). Afraid there's no work-around that I'm aware of either.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele


"Nick" <(E-Mail Removed)> wrote in message
news:018301c34c7c$132392e0$(E-Mail Removed)...
> I have written a query to allow record-level access
> depending on the user. This makes use of the CurrentUser
> function. I am then using a data access page to connect to
> the database via the query. When run from within the
> database both the query and the DAP work fine, but when I
> try and run the page from outside the database (using IE6)
> I get an error message "Undefined function 'CurrentUser'
> in expression".
>
> Anyone got any suggestions?
>
> Many thanks,
>
> Nick.



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
using the CurrentUser function in a query. =?Utf-8?B?UC4gU2NhcmFt?= Microsoft Access Queries 4 5th Jun 2006 02:33 PM
CurrentUser() function not working =?Utf-8?B?QW5kcmUgU2tlZW4=?= Microsoft Access 12 29th Jun 2004 01:36 AM
Pass through queries - CurrentUser() function? Ling Microsoft Access Queries 1 19th Nov 2003 11:50 AM
Re: CurrentUser function debbie Microsoft Access 0 9th Jul 2003 05:41 PM
Re: CurrentUser function Jack MacDonald Microsoft Access Security 2 27th Jun 2003 12:25 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:53 AM.