General information
Category:
Coding, syntax & commands
Title:
CursorAdapter with variable filter expresion
Environment versions
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.
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