Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
CursorAdapter with variable filter expresion
Versions des environnements
Network:
Windows 2003 Server
Hello
I have a form , a Cursor adapter (created with CABuilder.prg), a Grid and several textboxes in order to let the user put values and define a search criteria to build a different "Where clause" (cSelectCmdFilter property) every time.
It happens that the cursor is built the first time with the cSelectCmdFilter property blank, but every time I build a different "Where" , calling the CursorRefresh method is not enough to refresh data on the grid, instead a call to CursorFill is necessary but the grid becomes blank . After this, having the grid according to design time has to be done by code.
Is this the normal behaviour, or is it possible to refresh the cursor without calling CursorFill.
Filter's Parameters are not the same every time, the whole Filter may be different and is built by code.
I hope to be clear on this.
Any help or comments,
Thanks.
Juan C.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement