Author Topic: Gagal bikin kode I5G dan I2 utk produk indosat  (Read 2549 times)

DAF

  • Jr. Member
  • **
  • Posts: 188
  • (.) (.)
Gagal bikin kode I5G dan I2 utk produk indosat
« on: April 17, 2011, 10:29:01 AM »
Bro-bro sekalian,

saat bikin kode i5g & i2 utk produk indosat nominal 5 gprs + nominal 2rb reguler keluar pesan spt ini:

The INSERT statement conflicted with the FOREIGN KEY constraint "FK_parsing_produk".
The conflict occured in database "otomax", table "dbo.produk", coloum "kode".
The statement has been terminated.


Apa ada yg pernah mengalami & bagaimana cara mengatasi ?


armada

  • User OtomaX
  • Full Member
  • ***
  • Posts: 624
Re: Gagal bikin kode I5G dan I2 utk produk indosat
« Reply #1 on: April 17, 2011, 10:49:02 AM »
ini sudah ada di forum dah seperti ini
waktu nambahin kode produk muncul ini knp yah ?(Cannot insert the value NULL into column 'transaksi_nominal',table 'otomax.dbo.produk';column does not allow nulls.Insert fails.The statment has been terminated) mohon bantuannya para otomaxker hehhehe Cheesy

saya kemaring juga ngalami gan...selesai dg ini

1. masuk SQL studio
2. masuk database
3. masuk otomax
4. masuk tables
5. masuk dbo. produk
6. masuk columns
6. cari field transaksi_nominal di colums tersebut
7. klik kanan dan tekan delete lalu ok
8. siap untuk tambahkan data produk baru
Otomax Adv OID: CihYAw9ekA_Hp3hpm2SPYuYutijIJ3yPw

berusaha terus untuk maju dengan niat yang baik mencapai hasil akhir yang terbaik....

DAF

  • Jr. Member
  • **
  • Posts: 188
  • (.) (.)
Re: Gagal bikin kode I5G dan I2 utk produk indosat
« Reply #2 on: April 17, 2011, 01:36:48 PM »
Quote
Quote
Cannot insert the value NULL into column 'transaksi_nominal',table 'otomax.dbo.produk';
>> yg di delete kolom transaksi_nominal ya.

Berarti klo kasus saya >>
Quote
The conflict occured in database "otomax", table "dbo.produk", coloum "kode".
>> berarti yg di delete kolom kode dong .. ?
 
Ntar malem aja nyobanya, takutnya ntar semua kode menghilang, rs marah2 lg.