Hyperion69 Posted January 17, 2011 Report Posted January 17, 2011 Hello all . Ma puteti ajuta cu ceva, daca aveti timp? Maine am examen la Informatica Medicala, si dau in VFP. In Visual FoxPro am de numarat toate inregistrarile in functie de data. Ex: "Numarati cate persoane s`au prezentat la control in anul 2008". Logic, ar trebui sa lucrez cu functia COUNT insa in functie de data, e mai greu... Thank youPs: Daca nu am postat unde trebuie, imi asum vina. Quote
mike_vio Posted January 17, 2011 Report Posted January 17, 2011 (edited) set cent oncount for year(data_controlului)=2008simplu Edited January 17, 2011 by mike_vio Quote
wildchild Posted January 17, 2011 Report Posted January 17, 2011 filter?sau cel mai bine subtotal Quote
nightkhaos Posted January 25, 2011 Report Posted January 25, 2011 set century onselect count(distinct nume) from consultatiiwhere YEAR(DATA_CONSULTATIEI)=2008;posteaza diagrama tabelelor daca vrei sa iti dau rezolvarea exacta Quote