Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursor adapter problem
Message
De
05/10/2021 08:30:54
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
04/10/2021 17:26:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01682390
Message ID:
01682438
Vues:
43
>>>I have a cursor adapter that points a view in a postgreSQL database.
>>>I defined the cursor adapter to map all fields in the view
>>>When i try to recover data from the view with cursorfill i have no problems if i decide to receive all defined fields.
>>>If i decide to reduce the number of fields and modify the selectCmd parameter in beforeCursorFill() method i can't open the view...... I have this problem only with some views... not all
>>>The error i have is :"syntax error at end of input Error while executing the query Code: 1526"
>>>
>>>Thanks
>>I've never used cursor adapters but if you manually run the modified command does it give you a syntax error?
>
>While Dragans approach certainly has merit, your approach might be faster.

I suggested that if this faster approach doesn't show the cause, or contains just pure fox objects and properties (like 'insert ... values o.field1, o.field2') etc, which you can't quite run outside of fox.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform