>I'll take a look. This is in VFP 6. I just started porting some SBT Pro 5 mods to Pro 6. I didn't have this problem in 5 because that was before SBT decided it would be fun to turn everything into a class. Sigh. Have I mentioned how much SBT code sucks? :)
>
>Thanks,
>
Michelle,
No you hadn't before (that I recall) but you have now.:-)
How complex you want to make the wrapper is up to you, but...
LOCAL a_class
DIMENSION a_class[1]
IF AGETCLASS(a_class) AND TYPE('a_class[2]') = 'C'
MODIFY CLASS (a_class[2]) OF (a_class[1])
ENDIF
is really a quite simple solution.
George
Ubi caritas et amor, deus ibi est