Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL 7.0 vs 8.0
Message
De
18/04/2003 10:31:10
 
 
À
18/04/2003 00:28:38
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00777961
Message ID:
00779167
Vues:
44
Ravi,

If two patients have the same appointment times, your original select statement doesn't get them both. So the grid only shows one name, and you don't care which one it is?

If you only want one patient name to show for each time slot, then you can use SET ENGINEBEHAVIOR. Or, you could also use MIN(patient_name) to get the first one alphabetically.

If you want every patient to show, then you can remove the group clause completely.

>>
>>Then I don't understand why you are grouping on appointment time...unless you just need to know what times were used. In that case, why is having the name of one patient relevant, if there are more than one?
>>
>All the patient names show up in the grid in teh double click event of the grid.
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform