From: Michael H. <mg...@gm...> - 2006-06-05 11:15:22
|
Nando, > or interrupted. I am not sure what's wrong (i.e. what's different to > the plain "fetch all" command) with it. FR would be doing exactly as > directed, i.e. fetch all and then copy to the clipboard. "Fetch all" is only setting a flag in the DataGridTable object, which causes the background fetching (done in the idle handler) to continue until either all records have been fetched, or the "Cancel ..." command is executed. The status bar shows the number of fetched records. Doing this in several different result grids at the same time, or working with other stuff in FR while data is loaded is no problem either. A progress dialog would prevent it. A special command that fetches all records first and performs another action afterwards should be implemented differently, idle handling won't work there as good. Or at least I don't see how this could be implemented cleanly. There are at the two commands "Copy" and "Copy as INSERTs" now, more could be added. They could both use the combined "Load and copy", and adding boolean fields for each isn't my idea of a nice implementation. Thanks -- Michael Hieke |