Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set a font in certain rows of a grid by checking data
Message
 
À
11/07/2000 02:37:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00390614
Message ID:
00390661
Vues:
9
>I'm tring to set the font 1 cell of a column if a condition is met in another columns recordsource. Here is what I have.
>thisform.grid1.column2.controlsource = "(IIF(ticketdata.loandate - (date()-loandate) > 90,thisform.grid1.column6.text1.FontStrikeThru=.T.,thisform.grid1.column6.text1.FontStrikeThru=.T.))"
>
>I want to check if Loandate is greater then 90 days back from the current date. If it is I want to turn on the fontstrikethru in that row of record in column 6. But not the hole column just the cell that the row is over 90days back from the current date.
>
>I notice that the date command doesn't work in the iif statement.\
>
>Thanks kelly

Kevin,

Use DynamicFontStrikeThru instead.
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform