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. 20, 2012
01:20 am
3O702VUWNShow this entire thread in new window
Gratar Image based on email address
From:Thierry Nivelet (FoxInCloud)
To:Garth Groft
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)

West Wind Web Monitor

Viewing all articles
Browse latest Browse all 10393