Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #5448

Re: DBServer Access Method

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" <wriedmann@gmail.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: DBServer Access Method
Date Wed, 3 Jul 2013 16:57:12 +0200
Lines 15
Message-ID <b3ise9Fpdn5U1@mid.individual.net> (permalink)
References <e7d0b548-8548-47a5-89e5-0d36f33c6719@googlegroups.com> <b3ieepFmd7qU1@mid.individual.net> <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

Show key headers only | View raw


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

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

DBServer Access Method MikeScholl@btinternet.com - 2013-07-03 03:09 -0700
  Re: DBServer Access Method "Wolfgang Riedmann" <wriedmann@gmail.com> - 2013-07-03 12:58 +0200
    Re: DBServer Access Method Karl Faller <mail_withoutthat_@_drei-f_andthat_.de> - 2013-07-03 15:54 +0200
      Re: DBServer Access Method "Wolfgang Riedmann" <wriedmann@gmail.com> - 2013-07-03 16:57 +0200
  Re: DBServer Access Method Karl Faller <mail_withoutthat_@_drei-f_andthat_.de> - 2013-07-03 13:05 +0200
  Re: DBServer Access Method D.J.W. van Kooten <public@ic2remove.this.com> - 2013-07-03 13:12 +0200
    Re: DBServer Access Method Karl Faller <mail_withoutthat_@_drei-f_andthat_.de> - 2013-07-03 14:32 +0200
      Re: DBServer Access Method D.J.W. van Kooten <public@ic2remove.this.com> - 2013-07-03 15:27 +0200
  Re: DBServer Access Method MikeScholl@btinternet.com - 2013-07-03 09:58 -0700

csiph-web