~Rex UmremanMar 12, 2012, 10:52 AM272 PostsRe: 'range' is undefined and cannot be accessed as an arrayHi, you are trying to access a undefined value, that is why it is not working. Maybe the lookup is not correct. Please check your @DBColumn: Is the view existing / a view index build? Hope this helps Sven http://blog.hasselba.ch
~Isaac BrefoovitchoniMar 13, 2012, 2:21 PM46 PostsRe: 'range' is undefined and cannot be accessed as an arrayEverything seems to be correct. Is there another way to get a random value from a column?
~Rex UmremanMar 13, 2012, 3:46 PM272 PostsRe: 'range' is undefined and cannot be accessed as an arrayScript interpreter error, line=10, col=14: 'range' is undefined and cannot be accessed as an array This happens if @DbColumn has no returning value. Sven http://blog.hasselba.ch
~Isaac BrefoovitchoniMar 23, 2012, 2:15 PM46 PostsRe: 'range' is undefined and cannot be accessed as an array In the column, there are some values.The strange thing is that the error only occurs on the server.