Title: Nachricht
..access
-----Urspr�ngliche Nachricht-----
Von: Oliver Schoenbeck [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 19. September 2002 16:03
An: ASP Diskussionsliste fuer Anfaenger
Betreff: [aspdebeginners] AW: Migration

Hi,
 
Mach ne Abfrage und hohle alle werte aus der DB in ein Recordset.
 
Geh das Recordset durch und feuer eine SQL Anweisung ab wenn die Bedingung erf�llt wird.
Also in etwa so:
 
SET RS = objConn.Execute "SELECT * FROM ANYWHERE"
 
WHILE NOT RS.EOF
   If RS("1") = "X" Then
           objConn.Execute "INSERT INTO ......"
   End IF
WEND
 
Hoffe hilft.
 
Gruss
Olli
-----Urspr�ngliche Nachricht-----
Von: Schnyder, Lars [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 19. September 2002 15:42
An: ASP Diskussionsliste fuer Anfaenger
Betreff: [aspdebeginners] Migration

Hallo

Problem:
Muss eine Spalte mit Daten von einer Tabelle zur anderen Migrieren.

Algorithmus:
�berall, wo in der ersten Spalte ein "X" ist muss in der zweiten spalte "DHCP" eingetragen werden.

Bsp:

1       2
DHCP    HWBEZ

X       DHCP
X       DHCP
X       DHCP
X       DHCP
       
X       DHCP

X       DHCP
X       DHCP


L�sung:
<?>

Greets Lars

-----------------------------------------------
Lars Schnyder
ETA SA Fabriques d'Ebauches

Werk 4, Informatik - Lehrling
Blumenrainstrasse 1
CH-2540 Grenchen

Tel: +41 32 655 22 23
mailto:[EMAIL PROTECTED]
-----------------------------------------------


| Oft Gefragtes: http://www.aspgerman.com/aspgerman/faq/ | [aspdebeginners] als [EMAIL PROTECTED] subscribed | http://www.aspgerman.com/archiv/aspdebeginners/ = Listenarchiv | Sie knnen sich unter folgender URL an- und abmelden: | http://www.aspgerman.com/aspgerman/listen/anmelden/aspdebeginners.asp
************************************************************************************
This e-mail message is intended only for the addressee(s) and contains
information which may be confidential. If you are not the intended
recipient please do not read, save, forward, disclose or copy the contents
of this e-mail. If this e-mail has been sent to you in error, please delete this 
e-mail and any copies or links to this e-mail completely and immediately
from your system. We also like to inform you that communication via e-mail
over the Internet is insecure because third parties may have the possibility
to access and manipulate e-mails.

Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of
The Swatch Group Ltd.
************************************************************************************


| Oft Gefragtes: http://www.aspgerman.com/aspgerman/faq/
| [aspdebeginners] als [email protected] subscribed
| http://www.aspgerman.com/archiv/aspdebeginners/ = Listenarchiv
| Sie knnen sich unter folgender URL an- und abmelden:
| http://www.aspgerman.com/aspgerman/listen/anmelden/aspdebeginners.asp

Antwort per Email an