Solved

Filter with dataEnvironment

Posted on 2002-07-24
5
615 Views
Last Modified: 2008-02-01
Is it possible to apply a filter on a child recordset using the dataEnvironment?

You can do dataEnv1.rscmdCommand1.Filter = ...

But can you do something like:

dataEnv1.rscmdCommand1.Fields("CommandChild2").Filter...

?
0
Comment
Question by:jeanfrancoismelancon
5 Comments
 

Expert Comment

by:wensinkg
ID: 7175410
I'd like to say no.  The reason for having a child record is to filter the child set down according to the current record of the parent.  I see where you are going with this but the only way I have been able to do this is to apply the filter in code.  
0
 
LVL 69

Accepted Solution

by:
Éric Moreau earned 50 total points
ID: 7180230
You can but you cannot filter all the children in one shot:

set rstChild = dataEnv1.rscmdCommand1.Fields("CommandChild2")
rstChild.Filter ...
0
 

Expert Comment

by:stupendo44
ID: 8383418
jeanfrancoismelancon, coukd you get rid of this question? Like give the points to someone?

Stephen
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 9664209
Hi jeanfrancoismelancon,
It appears that you have forgotten to close this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept emoreau's comment(s) as an answer.

jeanfrancoismelancon, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept THIS comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now