LPARAMETERS nColIndex
>[snip]
> if !empty(.columns(nColIndex).dynamiccurrentcontrol)
> cCurrentControl = eval(.columns(nColIndex).dynamiccurrentcontrol)
> else
> cCurrentControl = .columns(nColIndex).currentcontrol
> endif
Very helpful, thank you (of course it does more than I was trying to). The only thing I don't understand is why you're using EVAL() on dynamiccurrentcontrol. Doesn't it contain a string, the name of the current control, just like currentcontrol does? Why EVAL() one and not the other?
Thanks,
Rich.Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing