I have two tables as per below:
- login(username,password)
- customer(ID,Name,RefID)
RefID is actually lookup column from 'login' table and 'username' column. I have set option.2 in security settings(Users can see and edit their own data only and username field as the link up field). Now the problem is that whenever a admin user adds a customer in the customer table, the 'RefID' is always taken and inserted as the admin username. When edited the value next time then it becomes OK.
Why this problem arises?