rs.addnew udah saya tulis, maaf lupa di lampirin.

rs.addnew 
y = 2
For x = 1 To y
If x = 1 Then
rs("nama") = nama.Text
ElseIf x = 2 Then
rs("nama") = nama.Text
End If
rs.update
Next x


----- Original Message ----
From: Andristyanto Sagitta Pratama <[EMAIL PROTECTED]>
To: [email protected]
Sent: Wednesday, December 6, 2006 2:04:53 PM
Subject: Balasan: [indoprog-vb] input berganda

boleh nanya? anda mau menyimpan data ato mau update
data? kalo mau menyimpan data sepertinya anda lupa
untuk menuliskan rs.addnew-nya. . coba taruh perintah
itu di bawah perintah for. 

semoga membantu...
--- Rusli <[EMAIL PROTECTED] com> wrote:

> VBers
> mau tanya dong
> 
> saya punya database yg isinya ID(auto) dan Nama
> dan saya punya script
> y = 2
> For x = 1 To y
> If x = 1 Then
> rs("nama") = nama.Text
> ElseIf x = 2 Then
> rs("nama") = nama.Text
> End If
> rs.update
> Next x
> 
> tapi timbul message error " identity cannot be
> determined for newly inserted rows".
> kenapa yaa..mohon bantuan.
> 
> 
> 
>
____________ _________ _________ _________ _________ _________ _
> Do you Yahoo!?
> Everyone is raving about the all-new Yahoo! Mail
> beta.
> http://new.mail. yahoo.com
> 
> [Non-text portions of this message have been
> removed]
> 
> 


____________ _________ _________ _________ _________ ________ 
Lelah menerima spam? Surat Yahoo! mempunyai perlindungan terbaik terhadap spam. 
http://id.mail. yahoo.com/




 
____________________________________________________________________________________
Any questions? Get answers on any topic at www.Answers.yahoo.com.  Try it now.

[Non-text portions of this message have been removed]

Kirim email ke