Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error: Connection Handle is invalid
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2008
Divers
Thread ID:
01549045
Message ID:
01549074
Vues:
34
>>>>Hi,
>>>>
>>>>I am using Cursor Adapter to update tables in SQL Server from VFP application. Works everywhere in the app. But in one place of the application the TableUpdate() of a cursor based on the CA I get error message "Connection Handle is Invalid." The same table, in another place of the application has no problem being updated. But in this place I get this error. Where should I be looking as a cause of this error? TIA.
>>>
>>>Maybe you have declared a variable with the same name?
>>>Or have a table with the same field?
>>>Or have a header file with the same #define?
>>
>>I am going to carefully think of your list of possible causes and check my code. The strange thing is the same code, when working with VFP database, updates the table without any error. Only when I change the DB to SQL Server I get the error.
>>Thank you for your suggestions.
>
>When you work with Native DB, you didn't use sql handler :-)

Yes, you are correct. I should have thought about it :)
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform