Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor adapter problem
Message
From
05/10/2021 08:30:54
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
04/10/2021 17:26:32
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01682390
Message ID:
01682438
Views:
42
>>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform