Hi GarthThis is not Michele, i am Gilles (LLS)..
<code lang = "vfp"> must be deleted from the copy code
THISFORM.pageframe1.page1.combo2.ROWSOURCE = ""SELECT nfdiscine FROM nfdiscine ;
WHERE evdigit = units.evdigit AND BETWEEN(units.evapmca,ampsmin,ampsmax) ;
INTO ARRAY THISFORM.pageframe1.page1.combo2.waRowSource
THISFORM.pageframe1.page1.combo2.ROWSOURCE = "Thisform.pageframe1.page1.combo2.waRowSource"
THISFORM.pageframe1.page1.combo2.ROWSOURCETYPE=5
THISFORM.pageframe1.page1.combo2.BOUNDCOLUMN=1
THISFORM.pageframe1.page1.combo2.CONTROLSOURCE = options.nfdiscine
Best regardMichele,
here is what tried and it did not address the issue. have i captured your code correctly?
<code lang = "vfp">Thisform.pageframe1.page1.combo2.rowsource = ""
SELECT nfdiscine FROM nfdiscine ;
WHERE evdigit = units.evdigit AND BETWEEN(units.evapmca,ampsmin,ampsmax) ;
INTO ARRAY thisform.pageframe1.page1.COMBO2.waRowSource
Thisform.pageframe1.page1.combo2.rowsource = "Thisform.pageframe1.page1.combo2.waRowSource"
Thisform.pageframe1.page1.combo2.value = options.nfdiscine<</CODE>>
Garth
Hi Garth
Thisform.pageframe1.page1.combo2.rowsource = ""SELECT nfdiscine FROM nfdiscine ;
WHERE evdigit = units.evdigit AND BETWEEN(units.evapmca,ampsmin,ampsmax) ;
INTO ARRAY thisform.pageframe1.page1.COMBO2.waRowSource
Thisform.pageframe1.page1.combo2.rowsource = "this.waRowSource"
Thisform.pageframe1.page1.combo2.value = options.nfdiscine
This codebefore, should be replace by this one
Thisform.pageframe1.page1.combo2.rowsource = ""SELECT nfdiscine FROM nfdiscine ;
WHERE evdigit = units.evdigit AND BETWEEN(units.evapmca,ampsmin,ampsmax) ;
INTO ARRAY thisform.pageframe1.page1.COMBO2.waRowSource
Thisform.pageframe1.page1.combo2.rowsource ="Thisform.pageframe1.page1.combo2.waRowSource"
Thisform.pageframe1.page1.combo2.value = options.nfdiscine
and try it..
Best regard
thierry,
thank you. strangely, i had not seen this message from you before. i will investigate your questions and get back to you with a full response ASAP.
i can respond to one simple question now. you ask: "when you run in debug mode, can you see the list populated correctly? or not? and .value?"
the array is being properly populated. if you selected one of the array elements, this selection is saved in the options table. on the next edit, the combo display nothing even though the saved value is in the options table (browser web mode only). the correct value appears in the combo in the very same VFP debug session which echos browser activity (shown in my screenshots). the correct value also appears running in LAN mode. this behavior applies to all 20+ combos on the options form.
i will reply again with the remaining answers to your questions.
thank you.
garth