Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What I make incorrectly ?
Message
De
22/10/1999 06:48:43
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00275961
Message ID:
00279813
Vues:
15
>Hi Vladimir,
>I start with functions and procedures (I try it).
>my first function (after 2 hours):
>Create function pokus
>(mem1 in number) return number is mem2 number;
>begin
>mem2:=10*mem1;
>return(mem2);
>end;
>It works and I call it with "select pokus(number) from dual".
>my first procedure (still not work):
>Create procedure pokus2
>(mem1 in number, mem2 in char)
>as begin
>insert into MyTable (fld1,fld2) values (mem1,mem2);
>end;
>It doesn't work.(Why?) Or, I don't know, how to call it. MyTable exists. SqlExecute(,'insert ..') works.
>I try all first in Enterprise manager and SQL worksheet and after it from VFP.
>Is it (in general) better to do Inserts, Deletes and Updates with procedures ?
>(Sequences are OK. I have first working forms classes for one table manipulation too.)
>Thanks forward, Pavel
Hello Pavel, sorry with unswer delay, I had road car trouble and was not able to see internet last 10 days, respond you today later
MVP-2006-2011, PHD in Math and Physics ,
host of www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform