sebenar nya error number sama dengan = 0 itu bukan
error, kamu bisa atasin dengan pakai kondisi misal
:
public ...
  on error goto salah 


salah :
if err.number <>0 then
    msgbox ("apalah")
enf if

end sub



--- Saflis <[EMAIL PROTECTED]> wrote:

> Saya membuat input program dengan code ado berikut.
> 
> 
> 
> public myconn as new connection
> .
> .
> .
> .
> 
> .
> .
> 
> dim sSQL as string
>  sSQL = "INSERT INTO Tabel1(Kode, Nama, Gender,
> Alamat)
>  sSQL= sSQL & "VALUES
> ('1001','rudy','Laki-laki','-')
>  myconn.execute sSQl
> 
> Permasalahannya saya mendapat pesan error, ketika
> say buat error
> handlenya, saya dapat pesan err.number nya 0, tanpa
> ada deskripsi sama
> sekali.
> 
> padahal dalam baris yang sama tiga buah perintah
> insert dan update
> sebelumnya berjalaan lancar, demikian juga di form
> lainnya. ada
> petunjuk???
> thanks.
> 
> 
> 
> 
> ------------------------ Yahoo! Groups Sponsor
> --------------------~--> 
> Fair play? Video games influencing politics. Click
> and talk back!
>
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/k7folB/TM
>
--------------------------------------------------------------------~->
> 
> 
> Untuk keluar dari millis ini, kirim email kosong ke:
> [EMAIL PROTECTED]
> 
>  
> Yahoo! Groups Links
> 
> 
>     [EMAIL PROTECTED]
> 
>  
> 
> 
> 
> 



                
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/k7folB/TM
--------------------------------------------------------------------~-> 

Untuk keluar dari millis ini, kirim email kosong ke:
[EMAIL PROTECTED]

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Programmer-VB/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Kirim email ke