Re: Change ROW colors in a grid.
- From: "Dan Freeman" <spam@xxxxxxxxxxxxx>
- Date: Thu, 14 Dec 2006 14:11:44 -0800
That's exactly what local parameterized views do for you.
Automatically.
Dan
TonySper wrote:
Yes you are correct. I have been doing that but my problem comes when
I select one of the records from the cursor and modify that record I
have to remember where the record came from in the original database
so that I can put the record back in the correct record. I want to get
rid of the housekeeping that I am going through to keep track of it.
Just using the filtered table, picking out the record, modifying it
and putting it back eliminates all the record tracking.
Thanks
Tony
"Dave Tiffany" <dtiffany@xxxxxxxxxx> wrote in message
news:%23nxlg5zHHHA.536@xxxxxxxxxxxxxxxxxxxxxxx
TonySper,
Generally speaking, using a filtered table to populate a grid is a bad
idea. A view or a cursor will perform better and solve your even odd
problem. Be sure to use the "Nofilter" clause if you use a cursor.
select * from tblA where tblA.field1="ABC" into cursor XYZ nofilter.
David Tiffany
TonySper wrote:
I can change the colors of a row in a grid or browse screen by using
the record number odd or even so that ever other row is a different
color but when I do a filter to the table and then look at the
screen
the colors are not ever other row. Is there a way to change the
color
by counting the rows or something?? I do not want to append them to
another table or create another table if possible. Any ideas would
be
welcomed?
TonySper
.
- Follow-Ups:
- Re: Change ROW colors in a grid.
- From: TonySper
- Re: Change ROW colors in a grid.
- References:
- Change ROW colors in a grid.
- From: TonySper
- Re: Change ROW colors in a grid.
- From: Dave Tiffany
- Re: Change ROW colors in a grid.
- From: TonySper
- Change ROW colors in a grid.
- Prev by Date: Re: vfp9, sp2ctp -- xmltocursor() issue.
- Next by Date: Re: VFP9 with MS Office 2003 VFPODBC driver
- Previous by thread: Re: Change ROW colors in a grid.
- Next by thread: Re: Change ROW colors in a grid.
- Index(es):
Relevant Pages
|