Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Velocidad de impresión
Message
De
26/11/2006 08:45:25
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
26/11/2006 08:04:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01172398
Message ID:
01172467
Vues:
12
>Hilmar, buenos días. No te había entendido lo de "report...to file ascii"... voy a probarlo. Por cierto una vez que lo tengo en el archivo txt ¿qué hago: TYPE archivo.txt TO PRINT ....?.

Bueno, en mi clase de text report, uso algo similar a lo siguiente; creo que funcionará mejor que un TYPE:
lcCodigosImpresora = ...
lcArchivoEnRam = FileToStr("archivo.txt")
??? lcCodigosImpresora + lcArchivoEnRam
Repito, el gran problema de "report ... to file ascii" - según me parecía a mí - es el de alinear correctamente la información, porque el informe no está orientado a caracteres de altura y anchura fija.

Por eso es que prefiero crear el texto con otros métodos. Inicialmente usé "?" y "??"; eventualmente lo incorporé en una clase con capacidades de agrupación (data grouping), re-imprimir page headers, y muchos más.

Y por ahí surgió la conveniencia de generar informes para Excel. En consecuencia, con la clase esa, ahora me resulta más fácil hacer un informe nuevo para Excel, que hacerlo con el informe incorporado de VFP.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform