S
Sandra Daigle
Yes, you should definately try this. I don't think I understood the gist of
this particular problem until now.
--
Sandra Daigle [Microsoft Access MVP]
Please post all replies to the newsgroup.
this particular problem until now.
--
Sandra Daigle [Microsoft Access MVP]
Please post all replies to the newsgroup.
.....
what if i applied the same sort order to my query as i have my
compliex pk doing in the table?
ted
Sandra Daigle said:Are the buttons (Clear Grid and Apply Filter) missing or are they
visable but disabled? What happens if you click Edit "Delete
Columns" or "Clear Grid"?
--
Sandra Daigle [Microsoft Access MVP]
Please post all replies to the newsgroup.
whooops....i might've spoken a tad toooo soooon.
before using the query having the added 'Time_on_List' calculated
field on
it as the control source for my forms, the availability of an
'Advanced Sort/Filter' button on the customized tool bar i give to
the user let the user remove the filter/sorting instructions by
clicking on it to reveal a query which he was asked to Clear Grid
for and then hit the 'Apply' filter button on the same toolbar; the
effect of that was to delete the filter/sort and allow the pk of the
underlying table (the former control source) to have their way and
sort the records by lastname, firstname, mi, medrecnumber.
now, with the query in the place of the table, this feature seems
unavailable to the user. the 'Advanced Sort/Filter' button opens to
a query revealing the filter and sorting criteria but there's no
way to remove/them!!!
any theories out there?
:
Ted,
Add the calculated field to your record source query and
sort by it. As in Select ... , [Date_on_list] - Now() AS
TimeOnList ...
Order by [Date_on_list] - Now()
But keep the control unbound.
Geof.
-----Original Message-----
let me just extend this thread a tad, sandra
can the calculated value be used to sort records either
in a form or a
report (say e.g. to list records in descending order
of "Time_on_List" when
the value of another control "Outcome" = 'Pending' or is
this restricted to
having the "Time_on_List" datum in the table and btw, i'm
with you 100% of
the way if your method means getting around the
constantly varying updated
fields i wrote about.
ted
ps: what's the big deal with the difference(s) btwn
a 'derived' vs a
'calculated' control? i'm relatively 'new' to a2k so it
seems like a
meaningless distinction.
:
In datasheet view or in continuous form this is the
nature of an *unbound*
control. An unbound control only has one value even
though it may be shown
multiple times when used in the detail section of a
continuous form.
Using a *calculated* control, where the ControlSource
is the expression, you
will see the correct value for each row.
--
Sandra Daigle [Microsoft Access MVP]
Please post all replies to the newsgroup.
Ted wrote:
hi,
i didn't know that at the time, but earlier on when i
had it as an
unbound field and the user used a datasheet view of
the underlying
table to review the data (in edit off mode), the
value of the
Time_on_List variable would remain the same
throughout the column
until the record pointer moved to another record and
thenn the same
value would be displayed for every other record on
the screen. i
reasoned this was because of some datasheet artifact
that i could
live w/o and added the Time_on_List to my underlying
table.
ted
:
Ted,
Sandra Daigle beat me to it. If you make
time_on_list an
unbound control then the dirty property won't bother
you.
Geof.
.