Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP exe running from SQL Server
Message
 
À
23/09/1999 13:46:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00268093
Message ID:
00268177
Vues:
31
>I can very easily create a vfp executable, and run it from sql server using the xp_cmdshell stored procedure.
>
>I am trying to write one which opens up a dde connection to another app which is always running in the backround (A zip+4 address verification program).
>
>As a standalone exe, it works fine. When I call it from the xp_cmdshell in SQL, it hangs or won't connect to the other app. I've already made sure that no user dialog, wait windows, or messageboxs are present, and set the DDESETOPTION Safety to .f.
>
>Any suggestions? Ultimately, I want to create a trigger on an sql data entry table which will call a foxpro exe on each insert to verify and correct the records as they are inserted. Data entry into the table will come from both a VFP application directly, and from forms on a web page.

Could you make this some sort of DLL (middle tier object) that both applications could access? Then you could actually verify the data before it gets into SQL.
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform