Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Visualizacion de informes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP SP1
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01020708
Message ID:
01023246
Vues:
20
>>all right i try read for that themic but i don't understand please help. yu've msn???
>
>The following sample code should get you started
CREATE CURSOR Test (dia C(20), hini N(4), hfin N(4), materia C(20))
>INSERT INTO Test VALUES("lunes", 1000, 1100, "logica")
>INSERT INTO Test VALUES("martes", 1000, 1100, "matematicas")
>INSERT INTO Test VALUES("miercoles", 100, 200, "programacion 1")
>
>SELECT ;
>		PADR( TRANSFORM(hini, "99:99") + "-" + ;
>			  TRANSFORM(hfin, "99:99"),11) AS hours, ;
>		dia, ;
>		materia;
>	FROM Test ;
>	INTO CURSOR crsResult NOFILTER	
>	>DO (_Genxtab)
>
>BROWSE LAST NOWAIT 	
>
Un comentario marginal..

Te recomiendo que uses el formato de 24 horas, donde las 13:00 son la 1 de la tarde, las 14:00 son las 2:00 de la tarde y asi sucesivamente..., claro los campos correspondientes deberian dejar de ser numericos y ser entonces tipo Character..
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform