Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run After Delete Trigger from VFP without deleting the r
Message
 
To
06/01/2007 15:30:10
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP1
Database:
Firebird
Miscellaneous
Thread ID:
01181049
Message ID:
01183367
Views:
17
Hi Dorin

Nice to hear from you.

>This should work
>
>lnRetVal = SQLEXEC(lnCon, "EXECUTE PROCEDURE DelUStock(?liID)", "crs_result")
>lnSPRetVal1 = crs_result.SPRetVal1

I will try this and let you know how I fare.

>* or, this work for sure
>lnRetVal = SQLEXEC(lnCon, "select SPRetVal1 from DelUStock(?liID)", "crs_result")
>lnSPRetVal1 = crs_result.SPRetVal1
>

This SELECT ... FROM SP(), does it work? Maybe I messed it up with I had tried to do this from a Delete Trigger and I was not able to do anything till Helen on FB forum suggested I use EXECUTE PROCEDURE

Thanks for your response.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform