From: | Thierry Nivelet (FoxInCloud) |
To: | Keith |
as this forum is Googled, other users benefit of questions and answers ...
Thank you Thierry.
Hope I am not too much of a pain, but maybe a populated
message board is good for business.
I'll ignore Lists and Combos record sources for the moment
and see what other issues I might have - if FIC do not mind.
Good luck, hope you make lots of money,
Keith
'content of This.List changes due to user action'
- e.g. a list of cities repopulated when user selects a region.
IOW, if your list is populated* at .init() and never changes afterwards, you can keep whatever .rowSourceType you have.
* populated by any mean: .rowSource = ... or .addItem()
Hi GLS.
Nice to see you working on a Saturday, for, I presume, no pay. :)
My mistake about grids, yep, it is only Combos and List boxes, sorry.
However, the application I am interested in converting at the moment
is only 3 MB and conversion and testing will take some time.
My 20 MB application would take a long, long time. If there is going to
be support for cursors in Lists and Combos I might as well wait for a time.
For Lists and Combos I get the below message from the Adaption Assistant-:
*
If (and only if) content of this.List changes due to user action, please redefine list as follows:
- .RowSourceType = 5
- .RowSource = 'this.waRowSource'
- direct request result to this.waRowSource[] array; e.g. SELECT … INTO ARRAY this.waRowSource
*
I am not too sure what 'content of This.List due to user action' actually means.
As a list is Read Only, does this mean if I ZAP(ped) the cursor data and appended
from another table the content of the list is deemed to have changed, as against a
combo having it's contents changed dynamically.
Thanks,
Keith
Hi Keith..
Cursors are already supported by the grid..
The combobox need array because it is more simply to translate it in HTML/JAVASCRIPT..
The only thing to do in your VFP's code is changing the populate of the combobox by an array rather than by a cursor..
It is not a so big work..
I think that Thierry will change this in a nearest future..
Regards
GLS
Hi FIC Developers.
When is cursor support for Combo's, Grids etcetera going to be implemented?
I hate arrays and very rarely use them. Why use an array when one can create
a lovely cursor which is so easy to work with.
I would have to re-write my applications to implement an array only solution.
I can only recollect once seeing a developer use arrays for such purposes.
Keith
-- thn (FoxInCloud)