This topic is locked

all record is deleted

4/2/2009 4:16:57 AM
PHPRunner General questions
D
danaci author

hi,

I have two tables(master and detail) and this tables related with sno,
master

sno auto_inc

name

addres
detail

sno

date,

..

..
I want to delete from detail table one record but all record is deleted;

so, I'm not selected all record.

J
Jane 4/2/2009

Hi,
this error happens when you've selected wrong primary key in your detail table on the Choose pagestab.

You should use unique values as keys.

I recommend to add new field (auto-increment) to the detail table and then use this field as primary key on the Choose pages tab.

D
danaci author 4/2/2009

thnx jane,