K
kevin
Is there a way to perform a compute using a DataView that is already
Filtered?
I am trying to do some statistics on data from a dataset, grouping by day.
I have my DataView set up to filter out the appropriate range, project, etc.
I then want to compute a total of one field where DateComplete matches the
current day as I loop through each day. To do this, I want to call
dv.Table.Compute("Sum(Weight)", "CurrentDue >= #" & dStart & "# AND
CurrentDue <= #" & dStop & "#")
But, this seems to be eliminating my current fiter. Do I need to include
the current filter in the statement above? Is there a better / faster way
of making this data transformation? I would like to see better performce
than this hateful loop.
Also, since my DB values have Times in them as well, is there a way to avoid
the >= and <= that I have to use in another calculation where all I want to
do is match the day, not the day and time?
Thanks!
Kevin
Filtered?
I am trying to do some statistics on data from a dataset, grouping by day.
I have my DataView set up to filter out the appropriate range, project, etc.
I then want to compute a total of one field where DateComplete matches the
current day as I loop through each day. To do this, I want to call
dv.Table.Compute("Sum(Weight)", "CurrentDue >= #" & dStart & "# AND
CurrentDue <= #" & dStop & "#")
But, this seems to be eliminating my current fiter. Do I need to include
the current filter in the statement above? Is there a better / faster way
of making this data transformation? I would like to see better performce
than this hateful loop.
Also, since my DB values have Times in them as well, is there a way to avoid
the >= and <= that I have to use in another calculation where all I want to
do is match the day, not the day and time?
Thanks!
Kevin