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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only