Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorAdapter without a cursor
Message
From
11/02/2005 15:24:22
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
00986064
Message ID:
00986133
Views:
32
I got it now! I had some override code in the cursorfill method which just did
dodefault(luseCursorSchema, lNoData, nOptions, Source)
and somehow it would not generate a cursor when returning no rows! Suprise.

Thanks

Glenn

>Unfortunately I can't test it rigth now but If I remember corectly no metter what is the WHERE clause CURSORFILL must create an empty Cursor.
>
>Just check if there is some error
>
>IF .NOT. CA.CursorFil(...)
>   AERROR(aErr)
>   DISPLAY MEMORY LIKE aErr
>   RETURN .f.
>ENDIF
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform