General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Is this normal in CA
CA is is populated with a parameter like:
PUBLIC SomeValue
SomeValue = "Some Filter Value"
SELECT table1.f1, table1.f2... Where table1.f1 >= ?SomeValue
Above Cursor is located in a GRID which is on pagefram1.page1
Now the abnormal thing, I think:
SomeValue is valued so that Cursor has only one record at the start. When SomeValue is changed, at runtime so that cursor should have f.ex 10 records and CA.CurosRefresh() is issued (and object refresh) nothing happenes. I can change SomeValue to filter to show any number of records but nothing happenes after CA.CurosRefresh(). BUT when TABLEUPDATE(.T.,.T.) is issued in some point (preferrable after the first time SomeValue is changed) and CA.CurosRefresh() works and the grid is refreshed.
Also if SomeValue filter all records at the start (=empty cursor) GIRD is refreshed ONCE when the SomeValue is changed to show 1 ore more records and CA.CursorRefresh() is issued. But this happens only once. You have to run TABBLEUDATE(.T.,.T.) first to get CA.CursorRefresh() work more than than once.
Is this normal behavior?
AT
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