Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CursorAdapter Performance Issue
Message
De
16/03/2003 11:34:28
 
 
À
16/03/2003 04:37:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00765148
Message ID:
00766316
Vues:
19
>3) Override CursorAttach as follows:
> * todo: check that cursor is base table
> DODEFAULT(cAlias,...)
> SET KEY TO ... IN (this.Alias) && limit records for current customer
> GO TOP
> this.SendUpdates=.F. && you don't want to send updates they'll be saved into base table any way
> this.Tables="" && has same effect as this.SendUpdates=.F. unless you provide custom Insert/Update/Delete command
>

Looks like the code

SET KEY TO ... IN (this.Alias) && limit records for current customer
GO TOP

doesn't belong to CursorAttach, it should be moved into CursorFill right before CursorAttach() call.

Thanks,
Aleksey Tsingauz.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform