Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to don't load data and define variable for CA ??
Message
De
16/03/2003 06:32:17
 
 
À
14/03/2003 20:19:30
Peter Wagner
Point Informática Ltda.
Limeira, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00766095
Message ID:
00766289
Vues:
24
Peter,

There is another way to accomplish what you want (a delayed load):

1) Override CursorAdapter.AutoOpen method as follows:
this.CursorFill(.F.,.T.)
return

2) Call CursorAdapter.CursorRefresh() when you think you are ready to fill cursor with data.


About CODIGOX variable:
You can add property CODIGOX into CursorAdapter and replace "?CODIGOX" with "?this.CODIGOX" in SelectCmd.

SelectCmd = "select Bancos.CODIGO_BANCO, Bancos.CONTA_C, Bancos.BANCO, Bancos.AGENCIA, Bancos.APELIDO
from Bancos WHERE CODIGO_BANCO = ?this.CODIGOX"

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

Click here to load this message in the networking platform