Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Count probleme
Message
De
02/07/2007 02:25:08
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01237077
Message ID:
01237078
Vues:
18
>Hi all,
>
>I have a count probleme.
>
>
> CREATE CURSOR CmdMedic ( cNom C(20) , nGroup I )
>
>
>  INSERT INTO CmdMedic ( cNom ) VALUES ( 'Temesta 2.5' )  && I want 1 For ngroup
>  INSERT INTO CmdMedic ( cNom ) VALUES ( 'Aspirine' ) && I want 1 For ngroup
>  INSERT INTO CmdMedic ( cNom ) VALUES ( 'Temesta 2.5' ) && I want 2 For ngroup
>  INSERT INTO CmdMedic ( cNom ) VALUES ( 'Fluimycyl' ) && I want 1 For ngroup
>  INSERT INTO CmdMedic ( cNom ) VALUES ( 'Rofenid' )&& I want 1 For ngroup
>INSERT INTO CmdMedic ( cNom ) VALUES ( 'Temesta 2.5' )&& I want 3 For ngroup
>
>*-- etc...
>
>UPDATE ngroup = ???? From CmdMedic
>
>
>How find nGroup with Update Command ?
>
>Thnak in advance for help.
>
>
>bernhart

Your question is not very clear. Is this what you want?
INSERT INTO CmdMedic ( cNom , nGroup) VALUES ( 'Aspirine',1 )
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform