Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>Help! I've been trying to use MONTH() and TTOD() to group items on some reports. Sometimes the first day of the next month (.e.g, 07/01/97) is included with the prior month (e.g., June) info -- and is then shown again with the correct month. Does anyone have any ideas? Is this a VFP bug?
Try converting what you're grouping into character strings using STR( MONTH(dExpression), nLengthOfString ) or TTOC() instead of TTOD(). Once these item are converted into character strings, they can be padded with spaces using PADL() or a related PAD function, or can be manipulated in many more ways as needed.
Précédent
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