Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to don't load data and define variable for CA ??
Message
From
16/03/2003 06:32:17
 
 
To
14/03/2003 20:19:30
Peter Wagner
Point Informática Ltda.
Limeira, Brazil
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00766095
Message ID:
00766289
Views:
25
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform