Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem updating tables from Stored Procedure
Message
De
27/06/2006 12:09:45
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01132012
Message ID:
01132066
Vues:
21
I see. Have you confirmed connectionstring setting is right and if in production IIS APS.Net configuration is right? It works for me. My suspicion is that you're connecting to another dbc in fact (no error, right?).
Cetin


>Aside from my typing error in the message in UT, all code works.
>
>In fact the code worked on another computer and on about 10 customer computers. I am testing this program on my PC after upgrading the ASP.NET part to the .NET 2.0. This is where I came across the problems.
>
>>Dmitry,
>>And this code really work from within VFP?
>>Cetin
>>
>>>No error message. The code in Stored Procedure is very simple:
>>>
>>>
>>>user ("DataFolder" + "mytable") in 0 alias MYTABLE
>>>append blank in MYTABLE
>>>replace myfield with "ABC" in MYTABLE
>>>
>>>
>>>But no record gets inserted to the MYTABLE.
>>>
>>>>Any errors? Could you post your code?
>>>>
>>>>
>>>>
>>>>
>>>>>I am having problem where the VFP Stored Procedure (called from .NET application) does not update .DBF tables. I inserted a test code in the Stored Procedure that creates a TEST table and inserts dummy value, and that part works. But none of the application tables are updated.
>>>>>
>>>>>The version of VFP Ole DB driver used for .NET application to call store procedure is 9.0.00.3504.
>>>>>
>>>>>I have been running all kind of tests but to no avail.
>>>>>
>>>>>Any suggestions of what I can do to pinpoint the cause of the problem?
>>>>>
>>>>>Any suggestions would be appreciated.
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform