Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CursorAdapter without a cursor
Message
De
15/02/2005 06:51:25
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
00986064
Message ID:
00986940
Vues:
17
Thanks Mark, I admit it took some time for me to get my head around this class, but now that "I get it" I will be using it as a base for my Data objects. It is very flexible and adaptable for effective framework design.

Glenn

>Since you are coding the CursorFill with DODEFAULT(), you should end it with a NODEFAULT as well.
>
>>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
>>>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform