General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
>>>>>Why CursorFill() is faster than CursorRefresh() in a CA?
>>>>>Note that both functions returns the same number of records and uses the same SelectCmd...
>>>>
>>>>CursorFill()
>>>>create the CA.Alias dbf
>>>>
>>>>CursorRefresh()
>>>>1. create a temp dbf
>>>>2. copy temp.dbf into the CA.Alias dbf
>>>>
>>>>the step 2. can require enough time,
>>>>and this force the dbf structure to not change
>>>
>>>Hi Fabio,
>>>
>>>are your shure?
>>>
>>>the DBF() is someting like SYS(2015)+'.DBF'
>>>I can see DBF(CA.ALIAS) change with every CursorRefresh.
>>>I run in this indexing a CA / View after Requery / CursorRefresh
>>>
>>>Agnes
>>
>>try to attach the CA.alias to a Grid.
>
>Done
>DBF() changes with every cursorrefresh Simple to see on Statusbar
>
dbf here does not change.
>No idea why the grid should make a difference
Grid do not like if recordsource file handle change
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