Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>>Okay so let's say I ahve the 9 fields for SSN, is there a way programmatically to change the font for each field when necessary then return it to its default??
>-------
>Sounds like you're looking at my sugguestion, and no one else has chimed in...
>ok...
>You could change the font in the when and valid methods, or the getfocus and lostfocus method
>When: This.Font = "NewTimesRoman"
>Valid: This.Font = "New Courier"
>
>You could also change the color, boldness, italic, etc.....all the properties.
------
oops. My example would be for on a form...I forgot you wanted to do this on a report.
If you want them to be dynamically different on a report...what a pain...you may have to set up a sepparte field representing each possible state....
or
you could alter the FRX at run time. I'm not sure if you can get the flexibility you want by altering the FRX prior to running it or if you'll have to embed a UDF to do it during the excution of the REPORT FORM statement
.... embed a UDF to do it during the excution of the REPORT FORM statement....Can someone tell me if that is possible?
I would guess yes. Probably along the lines of an output field containing:
MyFormating( cFieldName, cDesiredEffect)
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement