Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Oracle and FOxPro - Calling stored procs
Message
 
À
17/05/2001 18:59:07
Christian Cote
Les Logiciels Onoma Inc.
Longueuil, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00508447
Message ID:
00508687
Vues:
19
Thanks someone gave the same answer on PROFOX mailing list - thanks again

Shawn

>I did not try with SPT but I did it successfully with ADO. Maybe you could try this :
>
>*************************************
>** Description of variables used **
>* h = handle
>* ORADSN = datasource name
>* USERID = user id
>* PWD = password
>**************************************
>
> h=SQLConnect("ORADSN","USERID","PWD") && Establish a connection
>
> IF h > 0
>
> WAIT WINDOW "Connection Successful" NOWAIT
> =SQLExec(h,"{Call SP_MYPROC}") && Execute the stored procedure
> =SQLDisconnect(h) && Terminate the connection
>
> ELSE
>
> WAIT WINDOW "Connection Failed"
>
> ENDIF
>I found it on MSDN.
>
>HTH,
>Christian Cote
Shawn Dorion
Geo Sektor Dot Com
Website: http://www.geosektor.com

Web Hosting Plans
Visit : http://WebHosting.Applications4u.com/
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform