Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Wolfgang Riedmann" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: DBServer Access Method Date: Wed, 3 Jul 2013 16:57:12 +0200 Lines: 15 Message-ID: References: <76b8t8l3j0004mjcc8f76vt9sqv90bh3i7@4ax.com> X-Trace: individual.net Ce0c0+/8dKjT7W/1seKwtwV47ooXTfnbVYaCc51griV+1DeLA= Cancel-Lock: sha1:FjAl3UPpMTmpM29Rqk2twUJVH2Q= User-Agent: XanaNews/1.18.1.6 Xref: csiph.com comp.lang.clipper.visual-objects:5448 Hi Karl, > why not: > symField := String2Symbol( cFld ) > do case > case IsAccess( oS2, symField ) > uValue := oS2: symField <--- if the type of oS2 is a generic dbserver, but the object is a subclass of dbserver that may contain more access variables than the original class, this would give a compile time error. I'm doing such things very, very often. Wolfgang