Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: array rowsource issue

$
0
0
Re: array rowsource issue
FoxInCloud
Re: array rowsource issue
Dec. 21, 2012
01:50 am
3O803YHK5Show this entire thread in new window
Gratar Image based on email address
From:Thierry Nivelet (FoxInCloud)
To:Garth Groft
OK, great, thanks for the feedback


thierry, this issue was simply due to the boundcolumn set to 2. this was a carry over from the original VFP IDE version where rowsource = voltage (table) and voltage field was in column #2. now with boundcolumn set to 1 (default ) all is well. the tip off for me was that elements 1 and 2 worked and failure occurred for elements 3 and 4.

thank you.


You need to make sure that the .value you assign exists in .WaRowSource


hi thierry,

now that we are further along with out beta testing, we are seeing an odd behavior with some combo arrays, specifically the addunit form - combo2 and combo3. this occurs in FiC LAN mode testing - therefore not a browser issue.

values from array are correct and displayed correctly. when we select row one or two we get the correct value passed to units,cvoltage. row 3 or 4 yield units,cvoltage = ""
Thisform.pageframe1.page1.combo3.value also = "" for 3 or 4. the array actually loses all. it contents in the debug window when choosing elements 3 or 4. plus sign on array disappears and does not return even whe using row 1 or 2.

is using boundcolumn = 2 the source of the issue? the voltage table could be changed so that voltage is in column 1. do you have any experience with this behavior?

controlsource = units.cvoltage
rowsource = this.waRowsource
rowsourcetype = array
boundcolumn = 2

from addunit frosms's init:

Thisform.pageframe1.page1.combo3.rowsource = ""
SELECT voltage FROM voltage WHERE tonnage == units.tonnage AND valid ;
INTO ARRAY thisform.pageframe1.page1.COMBO3.waRowSource && voltages
Thisform.pageframe1.page1.combo3.rowsource = "this.waRowSource"
thisform.pageframe1.page1.combo3.Value = units.cvoltage

Garth



Thierry Nivelet (FoxInCloud)
Never explain, never complain (Queen Elizabeth II)


Viewing all articles
Browse latest Browse all 10393

Trending Articles