![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, The array is ok, the values are put into the array, but when i need the values of pex[i] further in the script, i get 'object' instead of the value. Thanks for any hint Walter ... oRDS.SQL="select pcnr from pc;" oRDS.Refresh() recok=oRDS.Recordset.RecordCount (this produces e.g. 20) var pex = new Array(recok) for (i= 1;i<=recok;i++) { pex[i]=oRDS.Recordset("pcnr") oRDS.Recordset.MoveNext } // this gives 'object' instead of the value!! for (i= 1;i<=recok;i++) { alert(pex[i]) } ... |
![]() |
| Thread Tools | |
| Display Modes | |
| |