Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Count probleme
Message
From
02/07/2007 02:25:08
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01237077
Message ID:
01237078
Views:
19
>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 )
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform