I see Razzak's examples, which are basically filters. But if you want to keep
all the
records on the screen and just MOVE to the record, can you try the "jump"
command?
PROPERTY TABLE TableName 'JUMPTO 2'
If there's a way you can determine which row your first "today" is on, you
could jump
to that row. Of course, this would get screwed up if the user resorted. If
it's a temp table,
you could autonumber the records.
If you don't excessive scrolling, you could do this instead:
PROPERTY TABLE TableName 'JUMP 1'
You could move down the grid one row at a time, check the date, and keep
jumping 1 row at a time
Karen
-----Original Message-----
From: Dan Goldberg <[email protected]>
To: rbase-l <[email protected]>
Sent: Wed, Jan 25, 2017 6:07 pm
Subject: RE: [RBASE-L] - go to today in enhanced dbgrid
Thx. I tried it and it is not working. I must be missing something.
Dan Goldberg
From: [email protected] [mailto:[email protected]]On Behalf Of
Albert Berry
Sent: Wednesday, January 25, 2017 3:49 PM
To: [email protected]
Subject: Re: [RBASE-L] - go to today in enhanced dbgrid
Try something like this? All the bold must be within quotes
PROPERTY TABLE 'FORMTABLENAME SEARCH->COLUMNNAME->' ‘value'
‘ScheduleTable SEARCH>DateColumn’ ‘.#DATE’
Albert
On Jan 25, 2017, at 3:18 PM, Dan Goldberg <[email protected]> wrote:
I have a request from users to go to today’s schedule via a button in an
enhanced dbgrid. They do not want to use the filter.
When it opens it is sorted by the newest date first, which is 6 months from
now. So they have to page down for a bit to get to it. They want to be able to
click a button and it takes them to today so they can look forward from there.
For some reason I cannot think of a property to do that. I know I can filter by
just today but they want to be able to scroll to other days(future and past)
starting from there.
<image001.png>
Does anyone have an ideas to accomplish it?
TIA
Dan Goldberg
--
You received this message because you are subscribed to the Google Groups
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email
[email protected].
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.