Group:  Microsoft Access ยป microsoft.public.access.dataaccess.pages
Thread: Restricted Retrieval

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Restricted Retrieval
"Rod Makin" <rods_junk[ at ]hotmail.com> 07.09.2006 15:15:18
Is there a way that I can prevent a data access page from retrieving data
until I have made a selection? I want to simply retrieve the row that Im
interested in and nothing else. The query that Im basing my DAP brings back
lots of data which, ultimately will be slow, so Id rather do it right the
first time.

Thanks in advance


Rod


Re: Restricted Retrieval
"Ken Snell \(MVP\)" <kthsneisllis9[ at ]ncoomcastt.renaetl> 07.09.2006 16:20:45
Here's one way to do this:
http://www.cadellsoftware.org/SampleDBs.htm#FilterDAP

--

Ken Snell
<MS ACCESS MVP>


"Rod Makin" <rods_junk[ at ]hotmail.com> wrote in message
news:enANxBp0GHA.4264[ at ]TK2MSFTNGP05.phx.gbl...
[Quoted Text]
> Is there a way that I can prevent a data access page from retrieving data
> until I have made a selection? I want to simply retrieve the row that Im
> interested in and nothing else. The query that Im basing my DAP brings
> back lots of data which, ultimately will be slow, so Id rather do it right
> the first time.
>
> Thanks in advance
>
>
> Rod
>


Re: Restricted Retrieval
"Rod Makin" <rods_junk[ at ]hotmail.com> 10.09.2006 14:58:57
Thanks for the help Ken, though this is just filtering the results rather
than selecting a specific record. What Id like to do is have where clause in
the SQL statement that can be populated dynamically from the data access
page. Any ideas?


"Ken Snell (MVP)" <kthsneisllis9[ at ]ncoomcastt.renaetl> wrote in message
news:eN4aHmp0GHA.4476[ at ]TK2MSFTNGP05.phx.gbl...
[Quoted Text]
> Here's one way to do this:
> http://www.cadellsoftware.org/SampleDBs.htm#FilterDAP
>
> --
>
> Ken Snell
> <MS ACCESS MVP>
>
>
> "Rod Makin" <rods_junk[ at ]hotmail.com> wrote in message
> news:enANxBp0GHA.4264[ at ]TK2MSFTNGP05.phx.gbl...
>> Is there a way that I can prevent a data access page from retrieving data
>> until I have made a selection? I want to simply retrieve the row that Im
>> interested in and nothing else. The query that Im basing my DAP brings
>> back lots of data which, ultimately will be slow, so Id rather do it
>> right the first time.
>>
>> Thanks in advance
>>
>>
>> Rod
>>
>
>


Re: Restricted Retrieval
"Ken Snell \(MVP\)" <kthsneisllis9[ at ]ncoomcastt.renaetl> 10.09.2006 18:58:01
That sample database is not filtering a result. What it does is use the
first DAP to let the user select the record desired, and then it opens a
second DAP that shows the selected record. This is a scenario that should be
workable for what you describe.

Otherwise, perhaps this MSDN article will be the approach you wish to use:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k2/html/odc_customfilteringandsearching.asp

--

Ken Snell
<MS ACCESS MVP>


"Rod Makin" <rods_junk[ at ]hotmail.com> wrote in message
news:%23$ZznmO1GHA.2036[ at ]TK2MSFTNGP05.phx.gbl...
[Quoted Text]
> Thanks for the help Ken, though this is just filtering the results rather
> than selecting a specific record. What Id like to do is have where clause
> in the SQL statement that can be populated dynamically from the data
> access page. Any ideas?
>
>
> "Ken Snell (MVP)" <kthsneisllis9[ at ]ncoomcastt.renaetl> wrote in message
> news:eN4aHmp0GHA.4476[ at ]TK2MSFTNGP05.phx.gbl...
>> Here's one way to do this:
>> http://www.cadellsoftware.org/SampleDBs.htm#FilterDAP
>>
>> --
>>
>> Ken Snell
>> <MS ACCESS MVP>
>>
>>
>> "Rod Makin" <rods_junk[ at ]hotmail.com> wrote in message
>> news:enANxBp0GHA.4264[ at ]TK2MSFTNGP05.phx.gbl...
>>> Is there a way that I can prevent a data access page from retrieving
>>> data until I have made a selection? I want to simply retrieve the row
>>> that Im interested in and nothing else. The query that Im basing my DAP
>>> brings back lots of data which, ultimately will be slow, so Id rather do
>>> it right the first time.
>>>
>>> Thanks in advance
>>>
>>>
>>> Rod
>>>
>>
>>
>
>


Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net