02.06.2013 Views

Users Guide Visual FoxPro®" di Microsoft

Users Guide Visual FoxPro®" di Microsoft

Users Guide Visual FoxPro®" di Microsoft

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Per impostare le opzioni <strong>di</strong> raggruppamento<br />

1.<br />

Nella scheda Fields, inserite l’espressione nella cella Functions and expressions.<br />

-oppure-<br />

Cliccate sul tasto Expression Builder per inserire una espressione nella cella Functions and expressions.<br />

2. Cliccate il tasto Add per inserire l’esspressione nella finestra Selected fields.<br />

3. Nella scheda Group By, aggiungete l’espressione <strong>di</strong> raggruppamento.<br />

Si può inoltre applicare un filtro ai risultati <strong>di</strong> un raggruppamento.<br />

Selezionare i gruppi desiderati<br />

Per impostare un filtro si una raggruppamento o una fusione <strong>di</strong> records piuttosto che su ogni singolo records, scegliete<br />

dalla scheda Group By l’opzione Having. Potete usare il nome <strong>di</strong> un campo, una funzione <strong>di</strong> raggruppamento, oppure<br />

un’altra espressione nella cella Field Name.<br />

Segueno l’esempio precedente, si può utilizzare la query che mostra il totale delle ven<strong>di</strong>te per co<strong>di</strong>ce cliente, quin<strong>di</strong><br />

usando il tasto Having restringere il risultato a clienti che hanno più <strong>di</strong> $50.000 dollari <strong>di</strong> or<strong>di</strong>ne netto.<br />

Impostare il criterio <strong>di</strong> un gruppo

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!