PC Review


Reply
Thread Tools Rate Thread

Access Data Page filter option

 
 
Jason Lopez
Guest
Posts: n/a
 
      12th Jul 2007
I have a basic Access Data Page designed where all pertinent information is
displayed for the overall. However, based on the person who is reviewing
the information, how do I filter out the irrelevant information from the
page without creating a seperate query for every single person?
Essentially, I am thinking of some type of dialogue box that will display
before displaying the page of information. That dialogue box will ask for
the userid of the person seeking the information and then match that up with
the relevant information. Then only the information attached to the userid
is displayed.

Is there a way to do that in an Access Data Page?

Jason Lopez


 
Reply With Quote
 
 
 
 
Tony Vrolyk
Guest
Posts: n/a
 
      12th Jul 2007
First off is the UserId the same as their login username? If so you could
use the function here to retreive their login ID.
http://www.mvps.org/access/api/api0008.htm

Then based on that you could have the code fill the form with what you want.

Lets say your basic query is something like
SELECT * FROM Table ORDER BY DateField

then on open of the form you could do something like

Dim strSql as string
strSql = "SELECT * FROM Table WHERE UserID='" & fOSUserName & "' ORDER BY
DateField
Me.Form.Recordsouce = strSql

If the fOSUserName doesn't return the right UserID then you could use an
input box or something but hopefully you get the idea.

Tony



"Jason Lopez" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
>I have a basic Access Data Page designed where all pertinent information is
>displayed for the overall. However, based on the person who is reviewing
>the information, how do I filter out the irrelevant information from the
>page without creating a seperate query for every single person?
>Essentially, I am thinking of some type of dialogue box that will display
>before displaying the page of information. That dialogue box will ask for
>the userid of the person seeking the information and then match that up
>with the relevant information. Then only the information attached to the
>userid is displayed.
>
> Is there a way to do that in an Access Data Page?
>
> Jason Lopez
>



 
Reply With Quote
 
Aquitane
Guest
Posts: n/a
 
      5th Oct 2007
Hi Guys,

I need to know where i can go to find freight forwarders/logistics
manager/shipping company newsgroups.

Can any one help,please?i`d truly appreciate it.

Kind regards


 
Reply With Quote
 
Douglas J. Steele
Guest
Posts: n/a
 
      5th Oct 2007
You definitely won't find them here in the Microsoft hierarchy of
newsgroups.

You're also far less likely to get your questions asked if you tack them
onto someone else's post.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"Aquitane" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Hi Guys,
>
> I need to know where i can go to find freight forwarders/logistics
> manager/shipping company newsgroups.
>
> Can any one help,please?i`d truly appreciate it.
>
> Kind regards
>
>



 
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
Access Data Page filter option Jason Lopez Microsoft Access Forms 3 5th Oct 2007 02:51 PM
change access form to a data access page-but no save-as option =?Utf-8?B?VHJlZQ==?= Microsoft Access Forms 0 19th May 2005 07:02 PM
Data Access Page Filter =?Utf-8?B?UGVubmVy?= Microsoft Access 1 27th Mar 2005 02:31 PM
Data Access Page Group Filter Sass_Girl Microsoft Access Form Coding 0 14th Nov 2003 10:33 PM
ACCESS 97: Option Group Based on Yes/No on Data Access Page is Not Displayed Maureen Microsoft Access Form Coding 1 2nd Jul 2003 11:21 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:17 PM.