Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is this normal in CA
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Is this normal in CA
Miscellaneous
Thread ID:
00868728
Message ID:
00868728
Views:
41
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
Map
View

Click here to load this message in the networking platform