🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.vbasic
Article #104319

Dodanie Klucza do pola recordsetu

#104319
From: Adax
Date: Tue, 06 Oct 2009 18:48
11 lines
1241 bytes
Witam! W jaki sposób ustawić w recordsecie Index główny (bez powtórzeń) dla 
wybranego pola, np. "X1"
        Dim r As ADODB.Recordset
        Set r = New Recordset

            For i = 1 To 3
                r.Fields.Append "X" & i, adDouble, , adFldUpdatable
            Next i

Ponadto muszę recordset r0 "przerzucić" do r, żeby pozbyć się duplikatów. 
Czy ten pomysł jest realny. Proszę o pomoc i z góry dziękuję. 
Technical Details
Message-ID: <hag3d8$kjj$1@news.onet.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!not-for-mail
From: "Adax" <Adax_Tnij@op.pl>
Newsgroups: pl.comp.lang.vbasic
Subject: Dodanie Klucza do pola recordsetu
Date: Tue, 6 Oct 2009 20:48:12 +0200
Organization: http://onet.pl
Lines: 12
Message-ID: <hag3d8$kjj$1@news.onet.pl>
NNTP-Posting-Host: chello089079210180.chello.pl
Mime-Version: 1.0
X-Trace: news.onet.pl 1254854888 21107 89.79.210.180 (6 Oct 2009 18:48:08 GMT)
X-Complaints-To: niusy@onet.pl
NNTP-Posting-Date: Tue, 6 Oct 2009 18:48:08 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit