Hi all,
I have a grid that I'm using (several actually) which show records available in different tables, and I put in the DynamicBackColor of the Column this:
All was well until records were populated out of order, and I put a Filter condition ion it. (COMPANY.COMPANYID = CONTACT.COMPANYID) or similar.
Then I realized that the filter condition is showing the dynamic color based on the MOD of Record number, but if they are "out of order" in the table, their RECNO doesn't represent where they actually are.
So the question is, has anyone a better source than using the RECNO() for determining which items to highlight. What this essentially does is highlight every other record (I don't use grid lines, as I don't like how they look).
Best Regards,
Scott
ATS, CDCE, CTIA, CTDC
"Everything should be made as simple as possible, and no simpler."
I have a grid that I'm using (several actually) which show records available in different tables, and I put in the DynamicBackColor of the Column this:
Code:
IIF(MOD(RECNO(),2)=1,RGB(255,255,255),RGB(197,228,254))
All was well until records were populated out of order, and I put a Filter condition ion it. (COMPANY.COMPANYID = CONTACT.COMPANYID) or similar.
Then I realized that the filter condition is showing the dynamic color based on the MOD of Record number, but if they are "out of order" in the table, their RECNO doesn't represent where they actually are.
So the question is, has anyone a better source than using the RECNO() for determining which items to highlight. What this essentially does is highlight every other record (I don't use grid lines, as I don't like how they look).
Best Regards,
Scott
ATS, CDCE, CTIA, CTDC
"Everything should be made as simple as possible, and no simpler."