Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CursorAdapter question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01464565
Message ID:
01464567
Vues:
53
>I'm connecting to a small SQL Server table via a cursoradapter. I am getting an error that says "index or expression does not match an existing member of the collection" (error 2061) after I do the CursorFill (no records are returned, but CursorFill returns .t.). There are only 16 fields in the table and 27 records, not that it should matter. I get the error info from calling AERROR, of course. The third element in the array it creates is "ENABLED". It's just kind of an odd error to get with a CursorAdapter, it seems. Does anyone have any suggestions here?
>
>Thanks,
>
>Russell Campbell


No, If CA CursorFill() returns .t., you get and error from somewhere else. That is not a CA error.
It is a Collection class error.

You should run SQL Profiler, and check what CA send to SQL Server when you run CursorFill().
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform