>> Habe da das kleine Problem, dass unter RB 2006 Release 3 bei der Verwendung
>> eines Dictionary eine "KeyNotFoundException" auftaucht. Dasselbe
>> funktioniert aber unter Release 1 + 2 ohne Murren.
> Code?
>
dim d as Dictionary
...
count = db.ResultCount()
d = db.ResultAtIndex(0)
for index = 0 to count-1
d = db.ResultAtIndex(index)
EFAnrede.Text = d.Value("anrede").StringValue // Hier KeyNotFoundError
...
Funktioniert sowohl als Built als auch in der SDI unter Release 2. Bug?
Gruss
Mike
From Sat 8 Jul 2006 19:49:54 +0200
Return-Path: <realbasic-nug dot de-bounces at lists dot realsoftware dot com>
X-Original-To: listarchive at realsoftware dot com
Delivered-To: listarchive at realsoftware dot com
Received: by xmail.realsoftware.com (Postfix, from userid 1037)
id 9193D7CF700; Sat, 8 Jul 2006 10:50:01 -0700 (PDT)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on
www.realsoftware.com
X-Spam-Level:
X-Spam-Status: No, score=-2.6 required=4.5 tests=AWL,BAYES_00 autolearn=ham
version=3.1.1
Received: from lists.realsoftware.com (lists.realsoftware.com [209.198.132.125])
by xmail.realsoftware.com (Postfix) with ESMTP id D4C3F7CF6F3;
Sat, 8 Jul 2006 10:50:00 -0700 (PDT)
Received: from lists.realsoftware.com (localhost [127.0.0.1])
by lists.realsoftware.com (Postfix) with ESMTP
id 8E71313672F9; Sat, 8 Jul 2006 12:49:59 -0500 (CDT)
X-Original-To: realbasic-nug dot de at lists dot realsoftware dot com
Delivered-To: realbasic-nug dot de at lists dot realsoftware dot com
Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de
[80.67.18.14])
by lists.realsoftware.com (Postfix) with ESMTP id ACC0013672EC
for <realbasic-nug dot de at lists dot realsoftware dot com>;
Sat, 8 Jul 2006 12:49:55 -0500 (CDT)
Received: (qmail 31368 invoked from network); 8 Jul 2006 17:49:54 -0000
Received: from unknown (HELO [192.168.1.80]) (363246 at [84 dot 175 dot 105 dot
41])
(envelope-sender <support at monkeybreadsoftware dot de>)
by smtprelay02.ispgateway.de (qmail-ldap-1.03) with SMTP
for <realbasic-nug dot de at lists dot realsoftware dot com>; 8 Jul
2006 17:49:54 -0000
To: realbasic-nug dot de at lists dot realsoftware dot com (REALbasic NUG
German)
In-Reply-To: <C0D5973C dot 399E%mike at psb-info dot ch>
From: support at monkeybreadsoftware dot de (Christian Schmitz)
Date: Sat, 8 Jul 2006 19:49:54 +0200
Message-ID: <1hi69q7 dot e9akidp9rwkM%support at monkeybreadsoftware dot de>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Organization: Monkeybread Software Germany
X-Face: nrf3>{WQ6c&r+7 at e)"]0G60`-6ND^)I2mI%>)QGYa=9"=7jhd-g2|b3!>Al0+
Ccb%xGQshhi|g at QU2$
User-Agent: MacSOUP/D-2.7 (Mac OS X version 10.4.7)
Subject: Re: Dictionary release 3
X-BeenThere: realbasic-nug dot de at lists dot realsoftware dot com
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: REALbasic NUG German <realbasic-nug dot de at lists dot realsoftware
dot com>
Sender: realbasic-nug dot de-bounces at lists dot realsoftware dot com
Errors-To: realbasic-nug dot de-bounces at lists dot realsoftware dot com
Mike Ott <mike at psb-info dot ch> wrote:
> EFAnrede.Text =3D d.Value("anrede").StringValue // Hier KeyNotFoundEr=
ror
> ...
>=20
> Funktioniert sowohl als Built als auch in der SDI unter Release 2. Bug?
Musst du mal schauen.
gibt es den Key anrede?
Also hat er nicht ein anderes Textencoding oder andere
gro=DF/Kleinschreibung und wird daher nicht gefunden?
Gru=DF
Christian
--=20
Around eleven thousand functions in one REALbasic plug-in.=20
The Monkeybread Software Realbasic Plugin v6.2.
<http://www.monkeybreadsoftware.de/realbasic/plugins.shtml>
|